home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mint110s / changes < prev    next >
Text File  |  1994-02-15  |  102KB  |  2,805 lines

  1. Changes are listed in *reverse* order, most recent changes being
  2. first.
  3.  
  4. version 1.10
  5.  
  6. procfs.c: ++nox@jelal.north.de
  7.     New Fcntl() command (PFSTAT) for finding
  8.     control terminals of processes.
  9. dosfile.c: ++bjarne@goedel.uni-muenster.de
  10.     Make f_open and f_create reentrant.
  11. main.c: ++hyc@hanauma.jpl.nasa.gov
  12.     Better Falcon Bconmap() fix.
  13. dos.c: ++hyc@hanauma.jpl.nasa.gov
  14.     NEW SYSTEM CALL: Tmalarm() for millisecond resolution
  15.     alarms.
  16. biosfs.c: ++nox@jelal.north.de
  17.     Fixed ioctl(,,TCSETBAUD) when oldbaud == newbaud.
  18. dosdir.c,unifs.c: ++schwab@ls5.informatik.uni-dortmund.de
  19.     Extended Dfree() to work properly on arbitrary drives,
  20.     not just ones that are root directories or aliased
  21.     (this arises e.g. for Dfree() on U:, when the current directory
  22.     isn't a root).
  23. syscall.spp,inline.h: ++schwab@ls5.informatik.uni-dortmund.de
  24.     Bugfix for TOS 1.4: the BIOS expects register A5 to
  25.     contain a 0 when it is called.
  26. bios.c: ++schwab@ls5.informatik.uni-dortmund.de
  27.     Make reads on console interrupt driven.
  28. procfs.c,shmfs.c:
  29.     Fixed Fseek(offset,f,2) to properly add "offset" to the
  30.     end of file position, rather than subtracting it.
  31. proc.c,signal.c: ++roemer@informatik.uni-frankfurt.de
  32.     Made sleep return a value specifying whether or not the
  33.     sleeping process was interrupted by any signals.
  34. file.h,biosfs.c,fasttext.c: ++itschere@TechFak.Uni-Bielefeld.DE
  35.     Added XATTR structure to bios files, to allow them to have
  36.     ownership, access modes, and time stamps. Restricted
  37.     Dcntl on u:\dev to superuser processes.
  38. biosfs.c, pipefs.c, file.h: ++entropy@terminator.rs.itd.umich.edu
  39.     Fix TIOCFLUSH on biosfs.
  40.     Give meaning to TIOCFLUSH's argument:  it is now a pointer
  41.         to a longword mask specifying the type of flush:
  42.         *arg & 1 -> flush input only
  43.         *arg & 2 -> flush output only
  44.         *arg == 0 -> flush input and output
  45.         arg == NULL -> flush input and output (backwards compatibility)
  46.     Add TIOCOUTQ to biosfs and pipefs.  The argument is a pointer
  47.         to a longword to be filled with the number of bytes in the
  48.         output buffer.
  49. *fs.c,file.h:
  50.     Added an "rdev" field to the XATTR structure, so that programs
  51.     can find the BIOS device number for character devices.
  52. biosfs.c: ++schwab@ls5.informatik.uni-dortmund.de
  53.     Added a /dev/fd subdirectory.
  54. biosfs.c: ++schwab@ls5.informatik.uni-dortmund.de
  55.     Restrict some operations to privileged users.
  56. filesys.c: ++itschere@TechFak.Uni-Bielefeld.de
  57.     Create new device filenames in lower case, for consistency.
  58. dosdir.c,tosfs.c: ++itschere@TechFak.Uni-Bielefeld.de
  59.     Improved security for Fdelete, Dsetpath, and some other
  60.     calls; made TOS file systems accessible only to root and
  61.     the admin group.
  62. bios.c,syscall.spp,main.c,proc.h:
  63.     Added a flag (in_dos) to the PROC structure; the BIOS can use
  64.     this for security checking on Rwabs and similar calls.
  65. procfs.c: ++micro@imada.ou.dk
  66.     Bug fix: memory protection modes weren't being properly reset
  67.     after memory was read from/written to.
  68. mem.c: ++bernd.kischnik@cdc2.ifum.maschinebau.uni-hannover.d400.de
  69.     Fixed a bug with memory initialization when the screen is
  70.     at a fixed location (i.e. with 3rd party graphics cards).
  71. context.spp: ++alex@falcon.demon.co.uk
  72.     Only check for 64 bytes of supervisor stack, rather than 1K; also,
  73.     corrected some loop counters.
  74. tty.c: ++nox@jelal.north.de
  75.     Hack so that ^S/^Q work on BIOS devices other than the keyboard.
  76. intr.spp: ++nox@jelal.north.de
  77.     Check for auto-repeating keys so that Fselect() wakes up more
  78.     quickly.
  79. bios.c: ++nox@jelal.north.de
  80.     Made BIOS devices take less CPU time while waiting for characters.
  81. filesys.c:
  82.     If a search for a path component (other than the last one)
  83.     fails, always return EPTHNF (like GEMDOS does).
  84. pipefs.c:
  85.     When freeing a closed fifo, free any associated tty as well.
  86. main.c: ++schwab@ls5.informatik.uni-dortmund.de
  87.     New command for mint.cnf: "include".
  88. mem.c:
  89.     In create_base(), limited the amount of memory assigned to
  90.     a new basepage if the current process has a limit assigned
  91.     by Psetlimit().
  92. biosfs.c:
  93.     Fixed the DEV_NEWBIOS call (it wasn't linking the newly created
  94.     device into the bios file system chain).
  95. dosdir.c:
  96.     Based on a suggestion by Uwe Seimet: made Dlock() return
  97.     ELOCKED when called twice by the same process, so that under
  98.     single tasking AES accessories may use it.
  99. unifs.c:
  100.     Fixed a bug in FS_UNMOUNT (fc->index is not necessarily
  101.     a pointer to a UNIFILE, since the file system may use
  102.     that for its own purposes).
  103. debug.c: ++nox@jelal.north.de
  104.     Make only ctrl-alt-key characters significant to the
  105.     debug code (before, any character could start/stop output).
  106. memprot.c,mem.c,dosmem.c: ++schwab@ls5.informatik.uni-dortmund.de
  107.     Andreas did a major clean-up of the memory protection code.
  108.     It's now faster, and quite a few bugs have been fixed.
  109. mem.c: ++schwab@ls5.informatik.uni-dortmund.de
  110.     Made sure that only even addresses are passed to zero() (I guess
  111.     some linkers don't make sure that text, data, and bss are all
  112.     even lengths?)
  113. util.c: ++schwab@ls5.informatik.uni-dortmund.de
  114.     In kmalloc(), the size passed to nalloc_add_arena() was wrong.
  115. main.c,debug.c,mem.c: ++schwab@ls5.informatik.uni-dortmund.de
  116.     Restore the screen to its original address when exiting MiNT.
  117. fasttext.c: ++nox@jelal.north.de
  118.     Allowed the fasttext device to be opened more than once.
  119. nalloc2.c: ++nox@jelal.north.de
  120.     Fixed the code for figuring out when to free an arena (it didn't
  121.     use to take account of the arena size itself).
  122. proc.c: ++Martin_Koehling@un.maus.ruhr.de
  123.     Allocate all memory before doing file duplication, so that
  124.     if a fork() runs out of memory we don't leave cookies
  125.     hanging.
  126. main.c: ++brad@tazboy.jpl.nasa.gov
  127.     Allow quotes to delimit arguments in the MINT.CNF file.
  128. xbios.c:
  129.     Installed a work-around in dosound() for Pure C's problem
  130.     with "volatile".
  131. filesys.c:
  132.     Put in a temporary kludge so that .XFSes that don't install
  133.     BIOS vectors can work (for a while). Note that .XFSes should
  134.     either install BIOS vectors, or should mount themselves on
  135.     drive U: without taking up a drive letter. THIS KLUDGE WILL
  136.     GO AWAY SOMEDAY SOON!!!
  137. syscall.spp: ++schwab@ls5.informatik.uni-dortmund.de
  138.     Various optimizations.
  139.  
  140. version 1.09
  141.  
  142. biosfs.c:
  143.     Implement file locking for BIOS devices.
  144. dosmem.c:
  145.     Fix the Pexec(200,...) bug (trying to save the command line
  146.     image must be done *before* the existing program's memory
  147.     is freed).
  148. nalloc2.c,util.c:
  149.     Allow kmalloc()'d memory to be returned to the OS, if possible.
  150. xbios.c:
  151.     Dosound() can be called with a negative number as its parameter,
  152.     in which case it is only an inquiry function.
  153.  
  154. version 1.08
  155.  
  156. dosfile.c,dosdir.c,filesys.c:
  157.     Made the file and directory operations re-entrant, by replacing
  158.     the global variable "temp1" with local variables (where needed).
  159. dosdir.c,filesys.c: ++schwab@ls5.informatik.uni-dortmund.de
  160.     Cleaned up the directory closing functions.
  161. dosmem.c: ++schwab@ls5.informatik.uni-dortmund.de
  162.     Fixed a bug in do_vfork (the child's PROC structure could be
  163.     freed when signals are checked for, and the old code wasn't
  164.     prepared for that).
  165. purec\*.*: ++reschke@math.uni-muenster.de
  166.     Updated for the new version of MiNT.
  167. *.*: ++alex@falcon.demon.co.uk
  168.     Lots of fixes to get rid of warnings and some small optimizations.
  169. dosmem.c,procfs.c: ++reschke@math.uni-muenster.de
  170.     In Pexec, save the name and arguments a process was started with
  171.     into the PROC structure, so that they can be recovered at run time.
  172. filesys.c,main.c,unifs.c: ++Ulrich Kuehn
  173.     At boot time, load files called *.xdd which contain external
  174.     device drivers.
  175.     Also, provide Dcntl calls for drive U: to allow installing and
  176.     de-installing file systems at run time.
  177. bios.c: ++nox@jelal.north.de
  178.     Only busy-wait for the parallel port, not for serial ports.
  179. unifs.c: ++schwab@ls5.informatik.uni-dortmund.de
  180.     Pass Dcntl commands along to file systems.
  181. signal.c: ++schwab@ls5.informatik.uni-dortmund.de
  182.     Make Fselect interruptable.
  183. procfs.c: ++schwab@ls5.informatik.uni-dortmund.de
  184.     Check for illegal signal numbers in ioctl(PTRACEGO,...).
  185. dosdir.c:
  186.     Fattrib should have been following links.
  187. *.spp: ++Claus Brod and Uwe Seimet
  188.     Various optimizations
  189.  
  190. version 1.07
  191.  
  192. debug.c: ++reschke@math.uni-muenster.de
  193.     Translated the German "FATAL ERROR" message.
  194. intr.spp:
  195.     The bus error handler shouldn't use 68030 MMU instructions unless
  196.     it is on a 68030. (Thanks to Stephen Henson for catching this.)
  197.  
  198. version 1.06
  199.  
  200. bios.c: ++akiernan@cix.compulink.co.uk
  201.     Fixed a bug with Bconout and TOS 1.02.
  202. dosmem.c:
  203.     Bug fix: Pexec mode 4 should cause the child to inherit its parent's
  204.     memory.
  205. filesys.c:
  206.     if disk_changed() detects an invalid drive, return EDRIVE from
  207.     it and also from path2cookie().
  208. main.c:
  209.     Fixed the PRN= line in mint.cnf (it was redirecting AUX:, not
  210.     PRN:).
  211. xbios.c:
  212.     Made Dosound() automatically grant supervisor access to the
  213.     region the sound is in.
  214. debug.c:
  215.     Make the "FATAL ERROR" message multilingual, and also less
  216.     confusing if debugging information is not provided.
  217. timeout.c,main.c:
  218.     Make the addtimeout() and canceltimeout() functions available
  219.     for device drivers.
  220. signal.c: ++schwab@ls5.informatik.uni-dortmund.de
  221.     Reduce the amount of space needed for signal calls (we were
  222.     being overly cautious on that),
  223. dosmem.c: ++akiernan@falcon.demon.co.uk
  224.     Make sure that the text segment in which a process will be
  225.     executing is attached to that process when it is started with
  226.     a Pexec (4,...).
  227. asmtrans: ++robert.wilhelm@physik.tu-muenchen.de
  228.     Enhanced to accept some 68030 specific addressing modes.
  229. proc.c:
  230.     Removed the save/restore of the logical screen pointer for the
  231.     MultiTOS kernel (this causes problems on a Falcon, since if the
  232.     AES changes resolution its parent process may be left with a
  233.     logical screen pointer pointing at invalid memory). 
  234. bios.c: ++robert.wilhelm@physik.tu-muenchen.de
  235.     Some small optimizations.
  236. biosfs.c:
  237.     Fcntl() was not interacting properly with rsconf(), so that
  238.     setting baud rates via Fcntl didn't work.
  239. dosfile.c:
  240.     Fforce() should return 0 on success.
  241. context.spp,cpu.spp: ++julian@math.uni-muenster.de
  242.     Patches for PureC.
  243. intr.spp: ++Robert.Wilhelm@Physik.TU-Muenchen.DE
  244.     Small optimization: no return value is needed for spl().
  245.  
  246. version 1.05
  247.  
  248. main.c: ++hyc@hanuama.jpl.nasa.gov
  249.     A better Falcon BIOS fix: if we're on a broken Falcon, turn
  250.     off Bconmap completely.
  251. various places: ++hohmuth@freia.inf.tu-dresden.de
  252.     Applied Michael's patch to make MiNT compile with PureC and
  253.     the MiNT library.
  254. memprot.c: ++schwab@lamothe.informatik.uni-dortmund.de
  255.     Fixed a bug in prot_temp (the cookie values weren't being
  256.     parsed out correctly). Also, added "const" where appropriate.
  257. dosfile.c: ++schwab@lamothe.informatik.uni-dortmund.de
  258.     Fixed some places where the fdflags[] for file handles
  259.     wasn't be set up correctly (default is 0 for std handles,
  260.     FD_CLOEXEC for non-std).
  261. cpu.spp,main.c: ++schwab@lamothe.informatik.uni-dortmund.de
  262.     Saved the MMU context when starting MiNT, so that we can
  263.     restore it again afterwards (and thus exit MiNT gracefully).
  264. main.c: ++julian@math.uni-muenster.de
  265.     Supplied a PMMU cookie if memory protection is on; if a PMMU
  266.     cookie already exists, don't do memory protection.
  267. fasttext.c: ++nox@jelal.north.de
  268.     Added ESC-t support to the fasttext device.
  269. bios.c: ++nox@jelal.north.de
  270.     Some modem port TSRs also don't return the correct value from
  271.     Bconout.
  272. dos.c:
  273.     Made Tsettime() and Tsetdate() available only to the super user.
  274. various places: ++akiernan@cix.compulink.co.uk,++julian@math.uni-muenster.de
  275.     Portability fixes to make the code compile with PureC and
  276.     Lattice C; also, Alex fixed up the cache clearing code.
  277. tosfs.c: ++schwab@lamothe.informatik.uni-dortmund.de
  278.     Fixed a bug in the NEWWAY code (during disk change, don't
  279.     free file cookies that may be in use).
  280. context.spp: ++seimet@rhrk.uni-kl.de
  281.     In the restore context code, touch the page containing the
  282.     (new) supervisor stack pointer before switching stack pointers.
  283.     Otherwise, if the page is not resident (a 3rd party virtual
  284.     memory system has swapped it out) then the resulting
  285.     bus error is fatal.
  286. tosfs.c: ++akiernan@cix.compulink.co.uk
  287.     Fixed a bug that could cause crashes on disk changes (the
  288.     'open' field was an integer for directories).
  289. rendez.c, mem.c: ++Martin_Koehling@un.maus.de
  290.     Fixed some memory leaks (semaphores weren't freed after being
  291.     destroyed, and if load_and_reloc failed then the memory
  292.     allocated for the shared text region wasn't freed).
  293. procfs.c:
  294.     When tracing is cancelled for a process with PTRACESFLAGS,
  295.     start the process again by sending it SIGCONT.
  296. procfs.c: ++schwab@lamothe.informatik.uni-dortmund.de
  297.     Don't allow processes to be removed by a different user.
  298. signal.c:
  299.     Fixed the debug tracing code so that SIGCONT doesn't stop
  300.     a process, even if it is being traced.
  301. procfs.c:
  302.     Dpathconf was returning the wrong value (8 instead of 12 -- it
  303.     wasn't taking the pid number extension into account).
  304.  
  305. version 1.04
  306.  
  307. bios.c:
  308.     Changed the way timeout worked for Bconout() stuff (basically,
  309.     rewrote the code so that it really does work -- the old code
  310.     used the system clock in timeout.c, which doesn't get updated
  311.     if no context switches are happening; the new code uses the
  312.     200hz counter, which is always updated).
  313. proc.h:
  314.     Increased the number of Fsfirst searches that can happen
  315.     simultaneously to 10 from 6 (this is a per-process
  316.     limit, not system wide).
  317.  
  318. version 1.03
  319.  
  320. xbios.c: ++entropy@terminator.rs.itd.umich.edu
  321.     In old versions of TOS, Rsconf could get stuck waiting for the
  322.     transmit buffer to empty if flow control was on. Added a timeout.
  323. dos.c:
  324.     Changed Psetpgrp so that passing a pgrp of -1 makes it into
  325.     an inquiry call.
  326. filesys.c: ++Martin_Koehling@un.maus.de
  327.     Fixed a bug in Flock (regions were being locked 1 byte too far).
  328. mem.h:
  329.     Changed the memory allocation quantum to 256 bytes, so that
  330.     Srealloc will always work right on ST's.
  331.  
  332. version 1.02
  333.  
  334. main.c:
  335.     Run any AUTO folder programs appearing after MINTNP.PRG
  336.     as well as just plain MINT.PRG.
  337. syscall.spp:
  338.     Pop more stuff off the stack in sig_return, since we
  339.     did push more onto it in handle_sig. (It really shouldn't
  340.     matter, restore_context will restore the stack pointer
  341.     anyway, but better safe than sorry.)
  342. filesys.c,mem.c:
  343.     Made the open file associated with shared text memory
  344.     regions be closed automatically when a media change occurs.
  345. xbios.c:
  346.     Changed the do_usrcall function into an assembly language
  347.     routine which preserves all registers. Apparently some
  348.     programs rely on being able to pass parameters to Supexec
  349.     in registers. We only used to kill register A0, which was
  350.     reserved for BIOS use anyway, but obviously some programmers
  351.     choose not to read the f'ing manual.
  352. dosdir.c: ++entropy@terminator.rs.itd.umich.edu
  353.     Fixed a typo (PATH_MAX where ERANGE should have been).
  354. biosfs.c: ++schwab@lamothe.informatik.uni-dortmund.de
  355.     Check control keys on every newline, so users get quick response
  356.     to their key hits.
  357. tty.c: ++schwab@lamothe.informatik.uni-dortmund.de
  358.     Fixed a typo (t_startc is the character to use to resume terminal
  359.     output, not t_stopc!)
  360. dosdir.c,dosmem.c,filesys.c,tosfs.c: ++schwab@lamothe.informatik.uni-dortmund.de
  361.     Fixed many dup_cookie and release_cookie bugs; the code should be much
  362.     more usable now.
  363. main.c:
  364.     Corrected a flaw in the 68030 only version -- it assumed that
  365.     68030 was synonymous with memory protection. Also: set
  366.     mcpu correctly.
  367. main.c:
  368.     Checked to see if we're called "MINTNP.PRG"; if so, turn off
  369.     memory protection automatically. Commented out the code
  370.     for automatically turning MP off on 1 meg machines.
  371.  
  372. version 1.01
  373.  
  374. main.c,intr.spp:
  375.     Use init_tail for the temporary stack (saves us 128 bytes of bss,
  376.     oh boy).
  377. main.c:
  378.     If less than 1 megabyte is free, turn off memory protection
  379.     automatically.
  380. mem.h:
  381.     If there's no memory protection, do all ROUNDing etc. to
  382.     16 byte boundaries rather than 8K page boundaries.
  383. mem.c:
  384.     Added a check for the ability to move screen RAM; evidently
  385.     some boards use ST RAM but still don't allow Setscreen()
  386.     to work.
  387. all over the place: ++julian@math.uni-muenster.de
  388.     Cleaned up the code for PureC compatibility.
  389. all over the place: ++akiernan@cix.compulink.co.uk
  390.     Cleaned up the code for Lattice compatibility.
  391. fasttext.c: ++hyc@hanauma.jpl.nasa.gov
  392.     Sped up by special casing some of the gotoxy() calls, and
  393.     also allowed 8 pixel high characters in monochrome mode.
  394. dosdir.c: ++schwab@lamothe.informatik.uni-dortmund.de
  395.     Allow Frename() to succeed on symbolic links.
  396. signal.c: ++schwab@lamothe.informatik.uni-dortmund.de
  397.     Save processor context stuf in the reserved BIOS area even for
  398.     bus errors with memory protection on.
  399. dosfile.c: ++schwab@lamothe.informatik.uni-dortmund.de
  400.     Initialize the exception file descriptors to 0, in anticipation
  401.     of future use of this Fselect feature.
  402. dosfile.c: ++schwab@lamothe.informatik.uni-dortmund.de
  403.     Allow pipes to be opened and written to with O_APPEND mode.
  404. version.h:
  405.     Got rid of the PATCHLEVEL define. Now that I've finally
  406.     checked everything into RCS, it's much easier to just bump
  407.     up the version numbers on each release.
  408.  
  409. version 1.00
  410.  
  411. welcome.c,version.h:
  412.     Sigh. This is MultiTOS 1.0's MiNT, so even though I don't
  413.     consider it "finished", I'm changing the version number to
  414.     1.0. At least it's no worse than TOS 1.0 :-).
  415. memprot.c:
  416.     We want to flush the ATC cache, *not* the CPU cache. Thanks
  417.     for pointing this out, Alex.
  418. bios.c:
  419.     Fixed a problem with Speedo GDOS; if the printer's buffer was
  420.     full, Bconout(2,...) would do a context switch, which is not
  421.     a good thing for Speedo.
  422.  
  423. version 0.99
  424.  
  425. PATCHLEVEL 2::
  426.  
  427. main.c:
  428.     Big bug fix -- the do_exec_os routine was being called with a
  429.     basepage that occupied all of memory, so that the Pexec(200) it
  430.     did was failing due to insufficient memory. Now we Mshrink the
  431.     basepage; this also necessitates fixing up the stack pointer.
  432. main.c:
  433.     Handle mint.cnf files that don't end in a carriage return/line feed
  434.     combination.
  435. filesys.c:
  436.     New path parsing code to correct a bug in the way symbolic
  437.     links were being handled on loadable file systems.
  438.  
  439. PATCHLEVEL 1::
  440.  
  441. debug.c:
  442.     Made the default debugging level give ALERT messages.
  443. dosfile.c:
  444.     Corrected a bug in the way global file handles are closed.
  445.  
  446. PATCHLEVEL 0::
  447.  
  448. dosmem.c:
  449.     Made it so that overlay Pexec modes (e.g. 200) set up
  450.     the basepage to preserve the same "parent".
  451. main.c:
  452.     Added in a kludge so that if we're starting GEM from a file
  453.     (e.g. gem.sys) then we do it via the exec_os vector. I hope
  454.     this makes the Codeheads happy :-).
  455. dosmem.c,tty.c:
  456.     Backed out entropy's and schwab's changes. Random programs
  457.     were getting stopped under MultiTOS because of them; I can't
  458.     find the cause, so let's go back to something that worked
  459.     (if suboptimally).
  460. main.c:
  461.     Fixed a silly initialization error: we should not
  462.     assume a default language, we should get it from
  463.     the ROMs.
  464. dosdir.c: ++julian@math.uni-muenster.de
  465.     Extended Dlock: if bit 1 of the mode is set, then the
  466.     process id of the process using the drive is returned
  467.     instead of ELOCKED or EACCDN; this allows for more
  468.     informative error messages.
  469. welcome.c:
  470.     Updated the copyright notice.
  471.  
  472. version 0.98
  473.  
  474. PATCHLEVEL 4::
  475.  
  476. dosmem.c,tty.c: ++entropy@gnu.ai.mit.edu
  477.     Corrected some silliness in the job control code.
  478.  
  479. PATCHLEVEL 3::
  480.  
  481. xbios.c:
  482.     Took out the ONLY030 optimization; it didn't work correctly
  483.     (I can't see any reason why it shouldn't have worked, but
  484.     it didn't; perhaps a compiler bug bit us?)
  485.  
  486. PATCHLEVEL 2::
  487.  
  488. main.c:
  489.     Changed magic shift key to LEFT shift key.
  490. filesys.c:
  491.     Make loaded .XFS files go into supervisor accessible
  492.     memory.
  493. welcome.c,main.c:
  494.     Ask user in her own language whether or not to boot if the
  495.     kernel is a MultiTOS one and she held down the shift key.
  496. filesys.c:
  497.     Relax O_COMPAT mode opens somewhat so that any
  498.     number of processes can open the file for reading,
  499.     as long as no more than 1 has it open for writing.
  500.     ALSO: make sure O_EXEC gets treated the same as O_RDONLY.
  501. dosfile.c:
  502.     Change TRACE() to TRACELOW() on Fread and Fwrite.
  503. tosfs.c:
  504.     Went back to old method of doing tosfs.c; this is
  505.     better tested and safer.
  506. dos.c:
  507.     New system call, Salert(msg), for doing an alert message.
  508. debug.c:
  509.     Terminate messages written to the alert pipe with a 0.
  510.     Also: pour them into alert boxes so that programs like
  511.     sysalert don't have so much to do.
  512.  
  513. PATCHLEVEL 1::
  514.  
  515. fasttext.c: ++shenson
  516.     Corrected the quote_putch function.
  517. dosdir.c:
  518.     Allow Dfree(n) to work if "n" is a big number (e.g. BIOSDRV)
  519.     and the corresponding pseudo-drive is a current or root directory
  520.     of the current process.
  521. pipefs.c: ++schwab@ls5.informatik.uni-dortmund.de
  522.     Return a new error number, EPIPE, for writes to broken pipes.
  523. tty.c: ++schwab@ls5.informatik.uni-dortmund.de
  524.     If a tty loses its owner, the next process to do i/o to it
  525.     will become the owner.
  526. dosfile.c: ++schwab@ls5.informatik.uni-dortmund.de
  527.     FA_RDONLY doesn't mean "read only" on the process file system,
  528.     so allow such processes to be opened for writing.
  529.  
  530. PATCHLEVEL 0::
  531.  
  532. xbios.c:
  533.     Fixed Supexec to pass the function pointer on the stack, too
  534.     (just as TOS does). This is still undocumented behaviour,
  535.     so you rely on it at your own risk.
  536. xbios.c: ++entropy@gnu.ai.mit.edu
  537.     Applied a fix for Rsconf() with TOS 1.04, and made the
  538.     old TOS Rsconf stuff #ifndef ONLY030.
  539. proc.c,dosmem.c:
  540.     Wrap all calls to add_q/rm_q in spl7(), so that the
  541.     wakeselect() function truly can be called from
  542.     interrupt code.
  543. makefile,*.spp:
  544.     Make provisions for compiling an 030/040 only version
  545.     of MiNT; this should be faster and smaller than the
  546.     generic version.
  547. version.h:
  548.     The file system interface changes warrant a new version
  549.     number, so here it is.
  550.  
  551. version 0.97
  552.  
  553. PATCHLEVEL 3::
  554.  
  555. dosdir.c,proc.c:
  556.     Keep a chain of open directories, so that if a program
  557.     terminates without calling closedir() we can still clean
  558.     up after it. Also: allocate directory structures from
  559.     kernel memory rather than user memory, so that we don't
  560.     take an 8K hit on each one. PROBLEM: a bug in the mntlib
  561.     readdir() function causes bus errors if memory protection
  562.     is on. This is a library bug that needs to be fixed
  563.     real soon now.
  564. dosmem.c:
  565.     TSRs now get forced into global memory if they were running
  566.     privately; this should make things easier for users who
  567.     forgot to change prgflags on their TSR programs.
  568. filesys.c:
  569.     New meaning for O_COMPAT mode: deny write access to all other
  570.     processes.
  571. tosfs.c:
  572.     Added a define to turn on/off the RO_FASCISM code. Personally,
  573.     I think it should always be on.
  574. dosdir.c,filesys.c,file.h,*fs.c:
  575.     New file system functions, release() and dupcookie(), so that
  576.     the kernel can inform file systems when it is finished
  577.     with a file cookie; networked file systems will be very
  578.     happy about this.
  579.  
  580. PATCHLEVEL 2::
  581.  
  582. procfs.c:
  583.     Moved the memory protection checks for proc_read and
  584.     proc_write to a separate function in memprot.c.
  585. dosfile.c:
  586.     Remove the old compatibility code for Fcntl(F_SETFL,...).
  587.     (Actually, it's commented out, so we can put it back in
  588.     if we need to.)
  589. signal.c:
  590.     Change default behaviour for SIGFPE (which is raised
  591.     by division by 0) to "ignore", same as TOS.
  592. dosdir.c:
  593.     Made Dgetcwd() use the new size parameter, so that it
  594.     works as advertised.
  595. file.h, *fs.c:
  596.     Provide a "size" parameter for the getname() file system
  597.     function, so that we can do Dgetpath() of arbitrary length
  598.     paths.
  599. util.c:
  600.     BIG_MEM_DUMP is a nasty thing for users to get;
  601.     so we shouldn't do it on all failed mallocs!
  602.  
  603. PATCHLEVEL 1::
  604.  
  605. proc.c:
  606.     Plugged a memory leak (dispose_proc was failing to
  607.     free the process table memory, because fork_proc
  608.     was zeroing that field in the PROC structure).
  609. main.c:
  610.     Fixed MAXMEM= (it was setting the maximum CPU time,
  611.     not the maximum memory -- I thought I tested this!)
  612.  
  613. PATCHLEVEL 0::
  614.  
  615. main.c:
  616.     Added MAXMEM= and SLICES= variables for mint.cnf.
  617. bios.c:
  618.     Fixed Setexc so that if the new vector is in a global
  619.     region, the region is re-marked to be super.
  620. dosmem.c:
  621.     Fixed a race condition with memory protection and
  622.     Pexec(100,...) (if the new process exited early,
  623.     the old process might still try to access it).
  624. realloc.c:
  625.     New file, for doing the Srealloc system call (for
  626.     Falcon TOS).
  627. *.*:
  628.     Merged in Allan's memory protection and debugging
  629.     code. New files: memprot.c, nalloc2.c, welcome.c.
  630.  
  631. version 0.96
  632.  
  633. PATCHLEVEL 14::
  634.  
  635. tosfs.c:
  636.     Aaargh! Just after cutting this patch I discovered
  637.     that I had the test backwards.
  638.  
  639. PATCHLEVEL 13::
  640.  
  641. tosfs.c:
  642.     Changed so that Fsfirst()/Fsnext() always return
  643.     upper case, regardless of domain. (MiNT aware
  644.     programs should use the new directory functions.)
  645. dosdir.c: ++akiernan
  646.     Got rid of the special hack for drive x:, since
  647.     drive x: no longer exists.
  648. asm.y: ++akiernan
  649.     Cleaned up a bit.
  650. *.c: ++julian
  651.     Some minor patches for PureC.
  652. dosdir.c: ++julian
  653.     New system call, Dgetcwd(), with a 'size' parameter;
  654.     this doesn't do anything different from Dgetpath
  655.     now, but it's there for future expansion.
  656.  
  657. PATCHLEVEL 12::
  658.  
  659. version.h:
  660.     Update the patchlevel correctly.
  661. pipefs.c,dosfile.c:
  662.     Keep the Unix style semantics for pipes created with
  663.     Fpipe, but not for other fifo's (which by default will
  664.     continue to read the number of bytes requested).
  665.  
  666. PATCHLEVEL 11::
  667.  
  668. tty.c:    ++schwab
  669.     Support word-erase and quote-next-char.
  670. fasttext.c: ++schwab
  671.     support fgcol/bgcol
  672.     (screen_ioctl): tty_ioctl is now called by parent by default if
  673.     EINVFN
  674. signal.c (check_sigs): ++schwab
  675.     Use an int to index signals, not a long
  676. biosfs.c (bios_getxattr): ++schwab
  677.     u:\dev\stdin, etc., get the attributes of
  678.     the associated files
  679. dos.c (p_setuid, p_setgid): ++schwab
  680.     Allow setting to the current real [gu]id
  681. bios.c (checkkeys): ++schwab@ls5.informatik.uni-dortmund.de
  682.     Keys read by do_func_key should not be
  683.     interpreted (esp. UNDO -> SIGQUIT). also recheck shift status
  684.     since do_func_key may take some time
  685. xbios.c: ++entropy@gnu.ai.mit.edu
  686.     Added code to support old (tos < 1.4) Rsconf()
  687.     semantics.
  688. mem.c:
  689.     Changed so that attempts to execute a shared text program
  690.     which has data/bss references in the text segment will
  691.     get an ENOEXEC error instead of ENSMEM.
  692. *.c: ++julian@math.uni-muenster.de
  693.     Applied Julian's purec patches.
  694.  
  695. PATCHLEVEL 10::
  696.  
  697. pipefs.c:
  698.     Changed so that read() on a pipe will return as
  699.     soon as some data is available; this is how
  700.     all Unixes work.
  701. *.c:
  702.     Applied Julian's patches to allow compilation with
  703.     PureC.
  704. main.c:
  705.     New variable, MAXMEM=, for setting maximum memory
  706.     size (in K).
  707. main.c:
  708.     Removed PSEUDODRIVES= command, since "alias" has
  709.     replaced it.
  710. util.c:
  711.     Changed atoi to atol; it's more generally useful.
  712. asmtrans:
  713.     Applied Howard's patches; in particular, made %ifdef
  714.     apply to other commands (like %define) as well as to
  715.     code generation.
  716.     
  717. PATCHLEVEL 9::
  718.  
  719. asmtrans:
  720.     Cleaned up a bit more for cross-compilation.
  721. intr.spp:
  722.     in_kernel can be set while the process is in user mode
  723.     (if the critical error handler calls GEM)
  724. syscall.spp:
  725.     Get rid of some more magic numbers.
  726. bios.c:
  727.     While fixing the mtt bug, a new bug was introduced. So,
  728.     let's try again :-).
  729.  
  730. PATCHLEVEL 8::
  731.  
  732. bios.c:
  733.     Fixed a particularly silly bug in bios.c: in do_bconin(),
  734.     r was being returned without being initialized. Why didn't
  735.     gcc catch this?
  736. *.c:
  737.     Applied Alex's patches for Lattice, and Julian's patches for
  738.     Pure C.
  739. signal.c:
  740.     Kill programs with p_term() instead of terminate() (except for
  741.     signal SIGKILL) so as to allow them a chance to clean up via
  742.     the term_vec vector.
  743. shmfs.c:
  744.     Allow Fattrib() call to change the read-only
  745.     bit. Made Fxattr() return the correct mode
  746.     for shared memory files.
  747. main.c, fasttext.c:
  748.     Allowed HARDSCROLL=AUTO to set the number of
  749.     lines of scrolling to the current screen size.
  750. syscall.spp, inline.h:
  751.     New functions, callout2() and callout1(), with
  752.     less overhead; used by bios.c to call the
  753.     Bconxxx functions.
  754. bios.c:
  755.     Changed calls to Bconxxx functions into
  756.     jumps through the defined vector table in
  757.     low memory, when this is possible (TOS 1.0
  758.     doesn't have the table).
  759. asmtrans, *.spp:
  760.     Added %ifdef, %else, and %endif commands (for
  761.     future expansion). Removed the requirement that
  762.     macros to be expanded be delimited by % signs,
  763.     and cleaned up the definitions. Changed
  764.     "SECTION FOO" to "FOO". Added -purec compilation
  765.     option.
  766. filesys.c:
  767.     Fixed a bug in changedrv (there was no
  768.     check to see if "d" was a BIOS drive before
  769.     aliasdrv[d] was tested).
  770.  
  771. PATCHLEVEL 7::
  772.  
  773. biosfs.c,fasttext.c:
  774.     Fixed incorrect code that assumed TCURSON
  775.     was 0.
  776. makefile:
  777.     Fixed Makefile to work with older versions
  778.     of gmake, as well as generic make programs.
  779.  
  780. PATCHLEVEL 6::
  781.  
  782. *.s:
  783.     Radical overhaul of how assembly language is
  784.     handled. We now provide 2 utility programs,
  785.     "genmagic" (for producing symbolic names for
  786.     various offsets into structures) and "asmtrans"
  787.     (for processing .spp files, replacing macros
  788.     defined by "genmagic" and optionally translating
  789.     Motorola to MIT syntax). Now we only have to
  790.     maintain the .spp files; the Lattice and gcc
  791.     versions of the .s files are generated automatically,
  792.     and as a side benefit we can get rid of magic
  793.     numbers in the .s files and be sure that if we
  794.     change proc.h, the assembly language will be
  795.     updated properly.
  796. main.c,filesys.c,file.h:
  797.     Added a new command to mint.cnf, "alias", to
  798.     enable aliases for pseudo (and other) drives
  799.     to be created. Also, deleted drives q:, v:, and
  800.     x:. Programs should no longer be using these;
  801.     if they are, users can put things like
  802.     "alias q: u:\pipe" into mint.cnf.
  803. file.h:
  804.     Fixed the definitions for TCURSON and TCURSOFF.
  805. console.c:
  806.     Moved the handle checks in file_* functions into
  807.     separate functions, since for example we *know*
  808.     that handle 0 falls within the legal range; this
  809.     should remove a bit of overhead on BIOS and
  810.     single character GEMDOS I/O.
  811. main.c:
  812.     Got rid of the zeroexit() code; since we now
  813.     allow the whole boot process to be aborted by
  814.     right shift.
  815. pipefs.c:
  816.     Allow Cursconf() to work on TOSWIN pipes.
  817. mem.c:
  818.     Check the date and time of shared text regions
  819.     before re-using them.
  820. bios.c,syscall.s:
  821.     Changed the trap #13 entry point to allow quick
  822.     evaluation of BIOS functions that don't need
  823.     the full context save/restore done.
  824. everywhere:
  825.     Macro-ize TRACE and DEBUG so that it's possible
  826.     to produce a smaller version of MiNT without
  827.     them.
  828. biosfs.c:
  829.     Don't check for keyboard presses after every
  830.     BIOS write, it's too time consuming.
  831.  
  832. PATCHLEVEL 5::
  833.  
  834. mem.c:
  835.     Another bug: we shouldn't do the dLibs Pexec
  836.     hack on the first process we start up, because
  837.     it means messing with the MiNT basepage (which
  838.     is not ours to mess with, it's TOS's).
  839. main.c:
  840.     Fixed bug in enter_kernel (rootproc->base is no
  841.     longer necessarily MiNT's basepage).
  842. various places:
  843.     Tried to remove gcc warnings about constant
  844.     expression overflow.
  845. syscall.s:
  846.     Applied Alex's patch to allow trace mode to work
  847.     with non-MiNT debuggers.
  848. various places:
  849.     Applied Alex's patches to get rid of Lattice warnings
  850.     about unneeded assignments.
  851. mem.c:
  852.     Added extra traces to exec_region() in an effort to
  853.     track down the mysterious crash problems that others
  854.     have had.
  855.  
  856. PATCHLEVEL 4::
  857.  
  858. dosmem.c:
  859.     Made do_vfork not bother to save shared text regions.
  860. bios.c:
  861.     Made Rwabs respect Dlock.
  862. tosfs.c:
  863.     Made the TOS media change routines lazier (actual
  864.     disk access is deferred until the disk is next
  865.     needed).
  866. main.c:
  867.     Applied Alex's patches for setenv.
  868. everywhere:
  869.     Applied Julian's patches for Pure/Turbo C. The
  870.     resulting kernel doesn't actually work yet, but
  871.     at least we don't get so many error messages when
  872.     compiling. (Who needs lint when you have three
  873.     fussy ANSI compilers?)
  874. mint.h:
  875.     Oops; we should have had #include "inline.h" here.
  876. inline.h:
  877.     Applied jrb's GCC patches, and Alex's Lattice patches.
  878.  
  879. PATCHLEVEL 3::
  880.  
  881. bios.c:
  882.     Some optimizations in bflush(). I tried something like
  883.     this before, but messed up the terminal output modes.
  884.     Let's hope I got it right this time. Also:
  885.     removed some dependencies on sizeof(int).
  886. makefile:
  887.     Tried -O2 instead of -O. It seems to work, so let's
  888.     leave it on for now.
  889. inline.h:
  890.     New file to keep short, inlined versions of frequently
  891.     called functions.
  892. intr.s:
  893.     Check the floppy disk locking flag before doing a
  894.     pre-emption. Not really necessary now, but it doesn't
  895.     hurt to be careful.
  896. dosfile.c,*fs.c:
  897.     Applied Alex's F_SETLKW patches. If Alex isn't careful,
  898.     he's going to make MiNT Posix compliant on us :-).
  899. dosmem.c:
  900.     Applied Alex's patches to add a Pwaitpid system call.
  901. main.c:
  902.     If running from the AUTO folder, adjust the basepage
  903.     chains so that MiNT is invisible to programs that
  904.     (incorrectly!) make assumptions about basepages.
  905. proc.c:
  906.     Some optimizations in do_wakeup.
  907. filesys.c:
  908.     Don't call (*fs->dskchng)() twice when a disk
  909.     change is detected.
  910. main.c:
  911.     Make sure the _resvalid system variable has the
  912.     correct magic number in it for indicating that
  913.     we want to catch the reset.
  914.  
  915. PATCHLEVEL 2::
  916.  
  917. dosdir.c:
  918.     Really forbid deleting other process' current
  919.     directories (the actual "return EACCDN" was missing!)
  920. proc.c:
  921.     Inlined the check_time() function, and re-arranged
  922.     do_wakeup_things a bit to be more efficient.
  923. syscall.s:
  924.     Streamlined a bit; things are now kept in registers
  925.     where possible.
  926. filesys.c:
  927.     When loading file systems at startup time, don't
  928.     check the \MINT directory if that's the current one.
  929. filesys.c:
  930.     After a media change, instead of throwing away all
  931.     handles that pointed to the changed drive, make
  932.     them point to /dev/null instead, so that they
  933.     won't be re-used until the user explicitly closes
  934.     them.
  935. dosdir.c:
  936.     Allow Dlock() to succeed even if there is an
  937.     unfinished Fsfirst/Fsnext sequence on the drive.
  938. mem.c:
  939.     Allow relocations outside of the program load area;
  940.     apparently, some programs actually need these.
  941. mem.c:
  942.     Insert some sanity checks on memory addresses.
  943. signal.c:
  944.     Restart check_sigs if the process stopped because of
  945.     a signal, since the parent may reset the set of
  946.     pending signals.
  947. cpu.s:
  948.     New file from Alex, to control caching &c.
  949. various places:
  950.     More debugging patches from Alex, to make attaching
  951.     to existing processes work correctly.
  952.  
  953. PATCHLEVEL 1::
  954.  
  955. various places:
  956.     Cleaned up the debugging stuff a bit. For example, if a
  957.     process does PTRACESFLAGS on itself, it's the same
  958.     as if the parent did; also, if the process does a
  959.     Pexec with overlay (i.e. Unix exec()) then it stops
  960.     before its first instruction. This makes emulating
  961.     the Unix ptrace() system call much easier.
  962.  
  963. PATCHLEVEL 0::
  964.  
  965. biosfs.c:
  966.     Changed Fcntl TIOCISPEED/TIOCOSPEED to return the
  967.     next lowest legal baud rate if an illegal one is
  968.     specified.
  969. filesys.c:
  970.     Fix a bug that would cause an infinite loop if a
  971.     bad .XFS format is encountered.
  972. mem.c,mem.h,dosmem.c:
  973.     Implemented shared text; if the appropriate bit
  974.     (for now, 0x800) in the program header is set, then
  975.     the loader will set up a shared text region for
  976.     the program, and subsequent executions of it will
  977.     run out of the same text segment. Note that this
  978.     does require appropriate compiler support!
  979. filesys.c:
  980.     Fixed bug in the way directory searches are closed
  981.     after a media change.
  982. biosfs.c,intr.s:
  983.     Applied Julian's third mouse button patch for
  984.     /dev/mouse.
  985. *.s:
  986.     Applied Alex's debugging patches. Also: wrote a
  987.     Motorola->MIT syntax converter, so that we only
  988.     have to maintain the stuff in the "asm" directory.
  989. signal.c,proc.h,procfs.c,etc.:
  990.     Applied Alex's debugging patches, with a few
  991.     slight modifications.
  992.  
  993. version 0.95
  994.  
  995. PATCHLEVEL14::
  996.  
  997.  
  998. filesys.c:
  999.     Check for the existence of the \MINT directory before
  1000.     trying to load .XFS files from there.
  1001.  
  1002. --- patchlevel 13 released to the public ---
  1003.  
  1004. PATCHLEVEL13::
  1005.  
  1006. proto.h,filesys.c:
  1007.     Added Alex's patches for Lattice.
  1008.  
  1009. PATCHLEVEL12::
  1010.  
  1011. dosdir.c:
  1012.     Fsnext() on symbolic links was broken, because
  1013.     relpath2cookie no longer checks drive letters
  1014.     unless "depth" is > 0. Fixed this. (why did
  1015.     we change relpath2cookie that way?? this is
  1016.     changed back in 0.99pl2)
  1017. main.c,filesys.c:
  1018.     Added support for putting the mint.cnf file
  1019.     and any *.XFS files into the directory \mint.
  1020. dos.c:
  1021.     Added Pgeteuid() and Pgetegid() system calls.
  1022. main.c:
  1023.     Fixed the "set current directory" code to
  1024.     work properly.
  1025. main.c:
  1026.     Added a sanity check; if GEM is already running,
  1027.     don't try to run it again.
  1028. procfs.c:
  1029.     Added FIONWRITE and FIONREAD ioctl calls.
  1030. proc.c,bios.c:
  1031.     Fixed the type of the critical error handler.
  1032. dosfile.c,file.h,proc.c:
  1033.     Added Alex's patches for O_APPEND and O_NOINHERIT.
  1034. shmfs.c:
  1035.     Fixed lseek() on shared memory segments, and added
  1036.     FIONWRITE and FIONREAD ioctl calls.
  1037. fasttext.c:
  1038.     Tried once again to tame the wild cursor.
  1039. dosmem.c,proc.c:
  1040.     Modified process startup code so that PROC structures are no
  1041.     longer kept forever by the kernel (which should help alleviate
  1042.     memory fragmentation problems a bit).
  1043.  
  1044. PATCHLEVEL11::
  1045.  
  1046. dosmem.c:
  1047.     Applied Alex Kiernan's SIGTRAP bug fix (and kicked myself for
  1048.     forgetting C's precedence rules; thanks, Alex!).
  1049. filesys.c:
  1050.     Fixed relpath2cookie so that names like "C:\Z:" aren't
  1051.     interpreted as referring to drive Z:.
  1052. fasttext.c:
  1053.     Restored the "turn on cursor when opening()" code, because
  1054.     without it the fasttext driver and BIOS aren't in sync.
  1055. main.c:
  1056.     Moved the check for the presence of an already existing MiNT
  1057.     cookie to earlier in the initialization process, so that
  1058.     the error message can be printed properly.
  1059. shmfs.c:
  1060.     Fixed Dpathconf() on U:\SHM (filenames are truncated automatically
  1061.     on that file system) and corrected the comment there.
  1062. syscall.s:
  1063.     New function, call_aes, used to check for the presence of GEM
  1064.     (so we can tell whether or not we're running from the AUTO folder).
  1065. main.c:
  1066.     Run any programs which come after mint.prg in the AUTO
  1067.     folder.
  1068. version.h:
  1069.     Changed so that the patchlevel is always printed on boot-up.
  1070.  
  1071. PATCHLEVEL10::
  1072.  
  1073. unifs.c:
  1074.     Add U:\SHM as an interface for shared memory.
  1075. shmfs.c:
  1076.     New file system for doing shared memory.
  1077. xbios.c:
  1078.     Fixed Bconmap() to always return an error if the underlying
  1079.     TOS doesn't support Bconmap.
  1080. main.c:
  1081.     Fixed a bug in the argument parsing code for the "exec"
  1082.     command in mint.cnf.
  1083. dosdir.c:
  1084.     Changed Dlock() to return ELOCKED if an attempt is made to
  1085.     lock a drive that's already locked, and ENSLOCK if an attempt
  1086.     is made to remove a non-existent lock.
  1087. version.h:
  1088.     I forgot again to update this. Aargh!
  1089.  
  1090. PATCHLEVEL9::
  1091.  
  1092. mem.c,mem.h:
  1093.     Align everything on 16 byte boundaries.
  1094. mem.c,dosmem.c:
  1095.     Actually fix the "memory being allocated twice" bug.
  1096.     The problem was that setting m->links to 0 before calling
  1097.     attach_region was a no-no.
  1098.  
  1099. PATCHLEVEL8::
  1100.  
  1101. mem.c:
  1102.     Attempt to fix the strange "memory being allocated
  1103.     twice" bug.
  1104. tosfs.c:
  1105.     Truncating names at 14 characters came *before* the
  1106.     8.3 kludge, which meant that long names were being
  1107.     interpreted incorrectly (e.g. gcc-cc1plus.ttp was
  1108.     becoming "gcc-cc1p.tt"). Temporary kludge: only
  1109.     truncate at 32 characters. Long term solution:
  1110.     re-write this code to do the 8.3 truncation at the
  1111.     same time as the truncation.
  1112. main.c, proc.h:
  1113.     Provide a more explicit type for criticerr.
  1114. proc.c:
  1115.     Don't make _logbase per-process if hardware scrolling
  1116.     is active, since this makes for all kinds of weirdness!
  1117. mem.c:
  1118.     Allow NULL commandline to be the same as an empty
  1119.     string. (It was acting this way before, due to the MiNT
  1120.     library strncpy; now that we use our own strncpy some
  1121.     programs were passing funny arguments.)
  1122. dosmem.c:
  1123.     Provide a more detailed trace of Pexec activity.
  1124. mem.c:
  1125.     Added a sanity check in get_region().
  1126. proc.c:
  1127.     Set the time/date stamp of process 0 to the
  1128.     date & time when the system was booted.
  1129. fasttext.c:
  1130.     Commented out the code that turns the cursor
  1131.     on when u:\dev\fasttext is opened.
  1132. tty.c:
  1133.     Unsigned characters are always >= 0, so we
  1134.     don't need to check this.
  1135.  
  1136. PATCHLEVEL7::
  1137.  
  1138. makefile.lcc,mintlc.prj:
  1139.     Added Alex's patches.
  1140. assert.h:
  1141.     Added Alex's patch to cast the result to void.
  1142. filesys.c:
  1143.     Make sure the file system media change routine
  1144.     is called every time a disk change is forced;
  1145.     this corrects the Dlock() bug (it wasn't forcing
  1146.     media change as it should have).
  1147. version.h:
  1148.     Oops! I forgot to increment this for pl6, so
  1149.     it jumps by 2 this time.
  1150.  
  1151. PATCHLEVEL6::
  1152.  
  1153. biosfs.c,pipefs.c,tty.c:
  1154.     New Fcntl calls for controlling terminal baud
  1155.     rates and flags such as parity and stop bits.
  1156.     These have been integrated with the old TIOC*
  1157.     calls where applicable.
  1158. dosfile.c:
  1159.     Changed Fcntl to make a call to tty_ioctl be the
  1160.     default if the device is a terminal and the device
  1161.     ioctl routine returns EINVFN.
  1162. procfs.c, proc.c:
  1163.     The date/time stamp of a process now shows when the
  1164.     process was started, rather than being the number
  1165.     of seconds of CPU time used.
  1166. tosfs.c:
  1167.     Degrade an ALERT to a TRACE; there is a circumstance
  1168.     in which a root directory can apparently be changed,
  1169.     and that's when a program tries to open an empty
  1170.     file name. We don't need to warn the user that
  1171.     something is wrong in this case; we can just fail
  1172.     silently.
  1173. proc.c:
  1174.     Save the logical screen base for each process.
  1175. main.c,bios.c,proc.h:
  1176.     Made the critical error handler per-process.
  1177. bios.c,syscall.s:
  1178.     A cleaner way of saving registers when calling
  1179.     functions... this wasn't really necessary, but I
  1180.     did it to make tracking a bug down easier.
  1181. tty.c:
  1182.     New terminal flag, T_NOFLUSH, to suppress flushing of
  1183.     input when SIGINT or SIGQUIT is received.
  1184. *fs.c, file.h:
  1185.     Added a new Dpathconf() option that tells whether or
  1186.     not a file system is case sensitive.
  1187. dos.c:
  1188.     Forbid Prenice() on processes that you don't own.
  1189. dosmem.c:
  1190.     Correct a typo that was causing terminal process groups
  1191.     to be incorrectly set.
  1192.  
  1193. PATCHLEVEL5::
  1194.  
  1195. makefile:
  1196.     The -DOWN_LIB declaration should have been on (actually,
  1197.     it was, in my copy... sorry for the mix-up).
  1198. fasttext.c:
  1199.     Applied Alex's patch for the disappearing cursor bug.
  1200. everywhere:
  1201.     Applied Alex's patches to add "const" declarations where
  1202.     appropriate, and to get rid of size_t (since if OWN_LIB
  1203.     is defined we use "int" instead).
  1204. dosmem.c:
  1205.     Fixed M_KEEP to attach memory to rootproc *only* at
  1206.     process termination.
  1207.  
  1208.  
  1209. PATCHLEVEL4::
  1210.  
  1211. proto.h:
  1212.     Added prototype for do_func_key().
  1213. everywhere:
  1214.     Applied apratt's debugging/trace patches.
  1215.  
  1216. PATCHLEVEL3::
  1217.  
  1218. xbios.c, biosfs.c:
  1219.     Change Bconmap to actually do the equivalent of an
  1220.     Fforce(-2, foo) call; this way, we don't need the
  1221.     ugly DFLTMODM kludge. (On the other hand, we introduce
  1222.     some new ugly kludges :-)).
  1223. main.c,proc.c:
  1224.     Wait until everything is initialized before opening
  1225.     devices; this avoids bogus critical error messages from
  1226.     AHDI.
  1227. util.c, mint.h, ctype.h:
  1228.     Add all sorts of utility routines (for string processing,
  1229.     character type recognition, and the like). This is
  1230.     designed to make sure that MiNT works the same regardless
  1231.     of what library is used to compile it. We're not quite
  1232.     totally independent of library yet (the startup code and
  1233.     <osbind.h> aren't replaced) but we're pretty close.
  1234. main.c, proc.c:
  1235.     Initialize the current directory for the root
  1236.     process *after* file systems have been loaded, since
  1237.     otherwise the info is nuked when a new fs is loaded in.
  1238. bios.c:
  1239.     Allow output to BIOS device 5 to be redirected along
  1240.     with BIOS device 2; we do this by using the MW
  1241.     ESC-Q control sequence to quote characters. A bit of
  1242.     a hack, but then, not many people use device 5.
  1243. quickmov.s:
  1244.     Fixed two bugs in quickmove: (1) it didn't work for
  1245.     regions bigger than 0x00fffe00 bytes in length,
  1246.     and (2) it assumed the length was a multiple of 4
  1247.     bytes.
  1248. fasttext.c:
  1249.     Re-arrange things a bit to get rid of a gcc 2.1 warning.
  1250. dosmem.c:
  1251.     Change flag 0x4000 to mean "don't free the memory
  1252.     automatically on process termination"; explicit
  1253.     Mfree requests are still allowed, and after
  1254.     termination *any* process may Mfree the memory.
  1255.  
  1256. PATCHLEVEL2::
  1257.  
  1258. makefile:
  1259.     Remove -fcombine-regs from CFLAGS, since gcc 2.1
  1260.     doesn't understand it.
  1261. bios.c:
  1262.     Ignore value returned by Bconout for the screen
  1263.     (many text accelerators get this wrong :-( ).
  1264. dossig.c, signal.h:
  1265.     New system call, Psigaction(), by AGK. 
  1266. xbios.c:
  1267.     Added support for Bconmap.
  1268. bios.c, biosfs.c:
  1269.     Rationalized the way biosfs and bios interact;
  1270.     no more funny device numbers are needed. Also:
  1271.     added support for Bconmap, and a new default
  1272.     modem device.
  1273. pipefs.c:
  1274.     Applied Michael Hohmuth's patch for pipe_close (thanks,
  1275.     Michael!)
  1276. filesys.c:
  1277.     Don't try to initialize all the drives at boot time; path2cookie
  1278.     is quite capable of initializing, and it saves having
  1279.     to access drive B: (for example) while booting is going
  1280.     on.
  1281. main.c:
  1282.     Allow the user to avoid booting MiNT if the right shift key
  1283.     is held down.
  1284. main.c:
  1285.     Added safety checking, as suggested by AKP.
  1286. dosmem.c:
  1287.     In Mxalloc, if (mode & 0x4000) is nonzero then allocate non-freeable
  1288.     memory (we do this by attaching the memory to the root process).
  1289. fasttext.c:
  1290.     Tabs should be non-destructive on the ST!
  1291. proc.h:
  1292.     Re-arranged some things. Note that "slices" was never supposed
  1293.     to be visible to users! Also, added a "bconmap" variable to
  1294.     give the current Bconmap mapping for the process.
  1295. dosdir.c:
  1296.     Fail Ddelete of current directories only on the current
  1297.     drive; for other drives, reset the current directory
  1298.     to the root directory. NOTE: Ddelete of a current directory
  1299.     is forbidden only if the directory is someone else's
  1300.     current directory; if it's only your current dir., you
  1301.     can delete it (and get automatically bumped back to
  1302.     root).
  1303.  
  1304. PATCHLEVEL1::
  1305.  
  1306. dosmem.c:
  1307.     Fixed a bug that caused processes with no '.' in their names
  1308.     to have the wrong process name.
  1309. dosmem.c:
  1310.     In Pexec, make sure we yield to the new process so that
  1311.     it gets at least one timeslice to do an Mshrink().
  1312. proc.c:
  1313.     In preempt(), don't punish processes that have buffered
  1314.     BIOS output and are preempted; the process of flushing the
  1315.     buffer may very well put them to sleep, and in any event
  1316.     processes doing I/O should not be considered "hogs".
  1317. tosfs.c:
  1318.     Don't look for volume labels in opendir/readdir/lookup etc.
  1319. main.c:
  1320.     AGK: added DEBUG_LEVEL and DEBUG_DEVNO options to mint.cnf.
  1321. dossig.c:
  1322.     New system call (Psigpause()) courtesy of Alex Kiernan.
  1323. dosmem.c:
  1324.     In Pexec(200,...), don't reset base->p_parent, since the
  1325.     "parent" in an overlay exec is oneself.
  1326. tty.c:
  1327.     Fixed so that RAW mode reads will return all of an
  1328.     extended escape sequence at once, rather than waiting
  1329.     for the next read.
  1330. dosmem.c:
  1331.     When terminating a process, make sure that it's "number of
  1332.     memory regions" is set to 0; otherwise, calls to memused()
  1333.     on the process (e.g. by procfs) can crash the system.
  1334. dosdir.c:
  1335.     When removing directories, make sure that the directory
  1336.     isn't in use as someone's current directory (so that
  1337.     they don't get left in limbo).
  1338. fasttext.c:
  1339.     Screen memory must come from ST RAM -- otherwise hardware
  1340.     scrolling crashes and burns. Fixed thanks to AGK.
  1341. xbios.c:
  1342.     Moved the prototype for midiws to proto.h, and corrected the
  1343.     type of its argument (it should have been "int", not "short").
  1344.  
  1345. PATCHLEVEL0::
  1346.  
  1347. bios.c:
  1348.     Terminal modes weren't being set correctly in Bconout, and also
  1349.     weren't being set in bflush (which should have employed RAW
  1350.     mode output, but didn't).
  1351. everywhere:
  1352.     Merged in Alex Kiernan's latest Lattice C patches.
  1353.  
  1354.  
  1355. version 0.94
  1356.  
  1357. PATCHLEVEL4::
  1358.  
  1359. filesys.c:
  1360.     Use U:\DEV\CON for CON:, instead of V:\CON, since we're
  1361.     going to make drive V: go away soon.
  1362. unifs.c:
  1363.     When looking up a drive, make sure that it has a valid file
  1364.     system attached to it -- otherwise, newly installed ramdisks
  1365.     can cause system crashes :-(.
  1366. fasttext.c:
  1367.     Patches to make the fast text device work correctly on a TT,
  1368.     courtesy of Erling Henanger.
  1369. main.c:
  1370.     Install 16 extra cookies, instead of 8, just to be friendly.
  1371.  
  1372. PATCHLEVEL3::
  1373.  
  1374. main.c:
  1375.     Allow PSEUDODRIVES=MAP to put the extra drives in
  1376.     _drvbits without installing new drivers for them.
  1377. unifs.c:
  1378.     Don't rely on drvmap() to figure out what drives exist;
  1379.     it isn't accurate if PSEUDODRIVES=NO.
  1380.  
  1381. PATCHLEVEL2::
  1382.  
  1383. main.c:
  1384.     Added an option for turning off the BIOS routines for the
  1385.     pseudo-drives.
  1386. filesys.c:
  1387.     Moved the vector set/restore code to main.c (where all the
  1388.     other vector stuff is).
  1389. tosfs.c:
  1390.     If the _FLK cookie was already set when MiNT started, we
  1391.     pass file sharing and locking requests through to GEMDOS.
  1392. main.c:
  1393.     Turn the cursor off when leaving, if we were started from
  1394.     the desktop.
  1395. tosfs.c:
  1396.     Fixed a bug in which tos_chmode was returning an incorrect
  1397.     value.
  1398. debug.c:
  1399.     Added code for octal output to sprintf().
  1400. dosdir.c:
  1401.     Make Fsfirst() with the FA_LABEL bit set work on non-TOS
  1402.     file systems (via the file system readlabel function).
  1403.     (This used to work only when the search was restricted to
  1404.     labels only.)
  1405. various places:
  1406.     Get rid of gcc 2.0 warnings.
  1407.  
  1408. PATCHLEVEL1::
  1409.  
  1410. file.h:
  1411.     Because Fmidipipe and the disk change code can close
  1412.     files other than the files of the current process,
  1413.     the device driver "close" function needs another
  1414.     parameter, namely the process id being closed; this
  1415.     allows device drivers to remove locks properly.
  1416. tosfs.c:
  1417.     Volume labels shouldn't be found by Dreaddir().
  1418. tosfs.c:
  1419.     Added file locking.
  1420. filesys.c, main.c, file.h:
  1421.     New utility routine (denylock) to make implementing file
  1422.     locking easier for file systems.
  1423.  
  1424. PATCHLEVEL0::
  1425.  
  1426. tosfs.c:
  1427.     Canonicalize file names (i.e. convert to 8.3 format).
  1428.     Also, keep track of the value returned from the last
  1429.     readdir() call, so that a subsequent Fxattr() will take
  1430.     place quickly.
  1431. proc.c:
  1432.     In sleep(), make sure interrupts are disabled while queue
  1433.     manipulations are occuring.
  1434. bios.c:
  1435.     Correct a stuttering problem for ^C and similar interrupts.
  1436. dosmem.c:
  1437.     8 character process names weren't terminated properly.
  1438. tty.c:
  1439.     Aaargh! Shift+cursor keys were being interpreted even when
  1440.     they shouldn't have been.
  1441.  
  1442. version 0.93
  1443.  
  1444. PATCHLEVEL6::
  1445.  
  1446. filesys.c:
  1447.     Check for newly installed drives when parsing an
  1448.     absolute path without an explicit drive letter, as
  1449.     well as when looking at ones with drive letters.
  1450.  
  1451. PATCHLEVEL5::
  1452.  
  1453. biosfs.c, fasttext.c:
  1454.     Allow TIOCGWINSZ calls on the console (we use the line A
  1455.     variables to get the number or rows and columns).
  1456. filesys.c:
  1457.     Fix a typo in the file system initialization checking.
  1458. pipefs.c:
  1459.     Make "VIRGIN_PIPE" more obviously a magic value, and
  1460.     document it.
  1461. pipefs.c:
  1462.     Make u:\pipe have a sensible date/time; also, make
  1463.     Dfree on u:\pipe return some useful statistics about
  1464.     the number of pipes in the system.
  1465. procfs.c:
  1466.     u:\proc has a sensible time and date now, namely the
  1467.     time/date of the last process creation or destruction.
  1468. dosfile.c:
  1469.     Fcreate() of a volume label now returns a handle to
  1470.     u:\dev\null.
  1471. dosmem.c:
  1472.     Make sure the BIOSBUF buffer is flushed when terminating.
  1473. main.c:
  1474.     There's a bug in TOS 1.4: GEM seems to assume that all
  1475.     memory is zero initially, and if it isn't (e.g. if a large
  1476.     AUTO folder program like MiNT terminates and leaves behind
  1477.     dirty memory) then having too many (or the wrong kind of)
  1478.     desk accessories can lead to a crash. This was a real bear
  1479.     to track down, and the work-around is very ugly; before
  1480.     MiNT exits we copy a short machine language subroutine into
  1481.     the command line, and then execute it; the routine zeros
  1482.     all of the TPA and then does a Pterm0().
  1483. rendez.c:
  1484.     Change a "short" to "int" for the benefit of gcc 2.0.
  1485. bios.c:
  1486.     Stop process dumps from stuttering.
  1487. console.c:
  1488.     Added support for global file handles.
  1489.  
  1490. PATCHLEVEL4::
  1491.  
  1492. dosfile.c:
  1493.     In Fselect(), we have to re-validate file handles after
  1494.     a sleep() call, since signal handlers may close files.
  1495. proc.c:
  1496.     Pre-allocate more PROC structures (this should help
  1497.     reduce memory fragmentation).
  1498. tty.c, file.h:
  1499.     Allow cursor/function keys to send escape sequences.
  1500. dosdir.c:
  1501.     As suggested by S. Henson: Dsetpath through a symbolic link
  1502.     may also require changing the current drive as well.
  1503. proc.c,dos.c,timeout.c:
  1504.     New process scheduling algorithm, as suggested by A. Pratt.
  1505. dosdir.c:
  1506.     Make only the low bit of Dlock() significant, for future
  1507.     expansion.
  1508. dosfile.c:
  1509.     Allow Fcreate() to create a global file handle.
  1510.  
  1511. PATCHLEVEL3::
  1512.  
  1513. debug.c:
  1514.     Changed TRACE mode output so that not just any keys will
  1515.     start/stop output, but only Help and Undo.
  1516. dosdir.c, filesys.c:
  1517.     Add a Dlock() system call to lock/unlock drives.
  1518. filesys.c:
  1519.     Only initialize drives if the BIOS drive map says that
  1520.     they exist.
  1521. dosmem.c:
  1522.     In Pexec, make a copy of any name we're going to use
  1523.     before freeing memory for overlayed programs; the old
  1524.     way was decidedly incorrect!
  1525. dosfile.c:
  1526.     Allow for global file handles, so that shared libraries
  1527.     can use file handles that are the same for all processes.
  1528. dosmem.c:
  1529.     In Mxalloc, ignore bits that we don't understand, to
  1530.     allow for future expansion.
  1531. syscall.s:
  1532.     Fix a bug that could cause the wrong system call to be
  1533.     made if BIOS buffering is on (!).
  1534. bios.c:
  1535.     Streamline the BIOS buffering mechanism, and make it
  1536.     more conservative about multiple processes doing Bconout
  1537.     output.
  1538. procfs.c:
  1539.     Allow "foo.-1" to stand for the current process, and
  1540.     "foo.-2" to stand for our parent. Also, add new
  1541.     Fcntls for getting/setting memory flags.
  1542. bios.c:
  1543.     In Setexc(), don't actually change any vectors, let the BIOS
  1544.     do it -- some TSR's install trap handlers that look for
  1545.     certain Setexc functions...
  1546. signal.c:
  1547.     Allow nested Supexec() calls, or Supexec()'s from a terminate
  1548.     vector.
  1549. procfs.c:
  1550.     Change the definition of PPROCADDR and add a new Fcntl,
  1551.     PCTXTSIZE.
  1552. mem.c:
  1553.     In exec_region, set the stack based on the value of p_hitpa
  1554.     from the basepage, instead of the size of the memory
  1555.     region -- some programs rely on being able to set the initial
  1556.     stack pointer for a Pexec(4,...) this way.
  1557. main.c, context.s:
  1558.     Avoid using 68020 instructions if we're on a 68010.
  1559.  
  1560. PATCHLEVEL2::
  1561.  
  1562. dos.c,proc.c:
  1563.     More tweaking of the priority code.
  1564. main.c:
  1565.     Change the type of "tosbp" from char ** to BASEPAGE **,
  1566.     since that's what it really is.
  1567. main.c:
  1568.     Add a special case for the Spanish TOS 1.0 act_pd variable.
  1569. pipefs.c:
  1570.     When a writer is waiting to write a small amount of data
  1571.     atomically, remember to wake up readers so that they
  1572.     can clear the pipe!
  1573. debug.c:
  1574.     Add the %u flag to ksprintf() (Fselect uses it, maybe others
  1575.     do too...)
  1576. dosmem.c:
  1577.     In Pterm(), put the exit code onto the stack when calling
  1578.     etv_term. It won't be in the same place as it was for TOS,
  1579.     but c'est la vie. (People asked for this feature...)
  1580. xbios.c:
  1581.     Provide a way to pass arguments to Supexec(). Note that Atari
  1582.     never documented that this was possible, but some people were
  1583.     relying on it anyway :-(. (Don't use this feature, it's only
  1584.     there as a compatibility hack.)
  1585. main.c:
  1586.     In shutdown(), don't bother waiting a second for processes
  1587.     to finish if there are no other processes.
  1588. filesys.c:
  1589.     Make sure that path names are null terminated after strncpy.
  1590. mem.c:
  1591.     Fix the code to zero process registers so that it *only* zeros
  1592.     process registers.
  1593. dosmem.c:
  1594.     Eliminate some redundant code.
  1595. dosfile.c:
  1596.     Open u:\pipe\sys$pipe.xxx rather than q:\sys$pipe.xxx.
  1597. main.c:
  1598.     Change a "malloc" into "kmalloc", and restore the #include
  1599.     of <minimal.h> that was inadvertently deleted.
  1600. main.c:
  1601.     Allow parameters to be passed to the initial program specified
  1602.     by the INIT= string.
  1603.  
  1604. PATCHLEVEL1::
  1605.  
  1606. main.c:
  1607.     Fix a typo in shutdown() that was causing problems when
  1608.     MiNT was shut down while processes were active.
  1609. tosfs.c:
  1610.     Make sure that tfullpath() returns a string less than
  1611.     PATH_MAX characters long.
  1612. everywhere:
  1613.     Replace "sprintf" with "ksprintf".
  1614. debug.c:
  1615.     Add a "ksprintf" function that's like sprintf(), but
  1616.     (a) doesn't have so many features (making it smaller),
  1617.     and more importantly (b) won't try to write more than
  1618.     SPRINTF_MAX characters into a buffer.
  1619. filesys.c:
  1620.     In path2cookie, make sure we don't try to copy more than
  1621.     PATH_MAX characters into the fixed size buffers.
  1622. dosmem.c:
  1623.     The "sleep if no memory available during Malloc" code
  1624.     was causing more problems than it solved, so it was
  1625.     removed. To compensate, we increase the priority of
  1626.     newly Pexec'd processes to make sure that they get
  1627.     to run.
  1628. dosmem.c:
  1629.     Aaaargh! A very serious screw-up in terminate() was
  1630.     causing us to wake up processes sleeping in vfork()
  1631.     even when their children were still using the address
  1632.     space; needless to say, horrible (and mysterious)
  1633.     crashes could ensue. Fix: only force the parent awake
  1634.     if wait_q == WAIT_Q && wait_cond matches the terminating
  1635.     process, otherwise let post_sig() handle waking.
  1636.     While fixing this bug, re-arrange the terminate code
  1637.     to do the waking up at the very end, just in case some
  1638.     of the other code may cause a sleep() temporarily.
  1639. bios.c:
  1640.     Fix the scan code for the UNDO key.
  1641. fasttext.c:
  1642.     Use Setscreen() to set the hardware screen base, since setting
  1643.     the variable at 0x45e causes TOS to keep setting the screen base
  1644.     ad infinitum.
  1645.  
  1646. PATCHLEVEL0::
  1647.  
  1648. rendez.c:
  1649.     When waking a process up from a semaphore, check to see
  1650.     if it's on the WAIT_Q before trying to remove it from
  1651.     that queue (it might have been moved off the wait queue
  1652.     by a signal).
  1653. bios.c:
  1654.     Make sure that Bconout(2,c) always succeeds, to compensate
  1655.     for text accelerators and other programs that don't return
  1656.     sensible values from Bconout. Also, ignore the Bconout
  1657.     return value when flushing the text output buffer.
  1658.  
  1659. version 0.92
  1660.  
  1661. PATCHLEVEL4::
  1662.  
  1663. biosfs.c:
  1664.     Provide devices for the extra Mega STe serial ports.
  1665. biosfs.c:
  1666.     Make the kernel info structure available to device drivers
  1667.     loaded with Dcntl.
  1668. xbios.c:
  1669.     Provide a modified Midiws function so that this is also
  1670.     affected by Fmidipipe and Fforce.
  1671. biosfs.c:
  1672.     Split bios_device into two device drivers; one for
  1673.     terminal devices, and one for plain character devices
  1674.     (the printer and IKBD port fall into this category).
  1675.     Also: provide a new Dcntl call to install plain BIOS
  1676.     devices in U:\DEV.
  1677. tty.c:
  1678.     Check for terminal start/stop keys while reading.
  1679. bios.c:
  1680.     In checkkeys, loop through all keys received since our last
  1681.     interrupt, rather than just checking the last thing in the
  1682.     buffer (as A. Pratt suggested).
  1683. bios.c, tty.c:
  1684.     Made the "disable" character for special terminal functions
  1685.     (e.g. the EOF key) be 0 instead of -1; this matches System V,
  1686.     is more POSIX friendly, and also makes confusing function keys
  1687.     and ^@ less likely. (Thanks to Scott Willingham for this
  1688.     suggestion.)
  1689. file.h, elsewhere as needed:
  1690.     Renamed the O_BIOS flag O_TTY (since that's what it really
  1691.     represents) and renamed the is_bios macro is_terminal.
  1692. dosmem.c:
  1693.     Make Pexec mode 106 cause the child to be truly independent
  1694.     of the parent (i.e. it doesn't get the parent's address space,
  1695.     nor does the parent get the child's).
  1696. biosfs.c:
  1697.     Allow symbolic links from U:\DEV; this lets us do things like
  1698.     Fsymlink("U:\PIPE\SERVERFIFO", "U:\DEV\SERVERDEV").
  1699. main.c:
  1700.     When PRN=d:\foo is specified, create the file foo instead of
  1701.     just trying to open it; this makes no difference to devices,
  1702.     but makes redirecting printer output to a file much more
  1703.     convenient.
  1704. unifs.c:
  1705.     Fix a bug that was causing Dgetpath() to return incorrect
  1706.     information for U:\A.
  1707. timeout.c:
  1708.     Make sure "searchtime" is up-to-date; bconout uses this for
  1709.     the time out.
  1710. biosfs.c:
  1711.     Fix bios_write so that if bconout fails, so does the write.
  1712. bios.c:
  1713.     Fix bconout so that it doesn't hang forever if the device isn't
  1714.     going to be ready (e.g. the printer is off); instead, there's
  1715.     a 10 second timeout.
  1716. main.c:
  1717.     Send all processes SIGTERM when we're shutting down, so that
  1718.     they have a chance to clean up after themselves.
  1719. mint.h:
  1720.     The KBDVEC structure was missing the "clockvec" element (!).
  1721.  
  1722. PATCHLEVEL3::
  1723.  
  1724. biosfs.c:
  1725.     Revised to allow support for loading/removing device drivers
  1726.     dynamically, via a Dcntl() call.
  1727. dosmem.c,mem.c,dosfile.c,file.h:
  1728.     Added support for setuid/setgid. These bits are only checked
  1729.     in Pexec modes 0, 100, and 200, i.e. the "load and go" modes.
  1730. rendez.c:
  1731.     Added new semaphore code from Allan Pratt.
  1732. main.c:
  1733.     New command for mint.cnf: "exec foo.prg bar" runs the program
  1734.     "foo" with argument(s) "bar".
  1735. main.c:
  1736.     Use the XBRA protocol for all interrupt routines that we grab.
  1737. filesys.c:
  1738.     When terminating MiNT, close all open files to make sure data
  1739.     is flushed and devices are nicely shut down.
  1740. main.c:
  1741.     Add some more variables, such as CON and PRN for redirecting
  1742.     those handles, and HARDSCROLL for controlling the fast text
  1743.     output.
  1744. proc.c:
  1745.     Make sure the "links" field for the prn and aux handles is
  1746.     correct.
  1747. syscall.s, bios.c:
  1748.     Special case the BIOS Bconout code to try to speed it up
  1749.     a bit. We allow for buffering of Bconout output; the buffer
  1750.     is flushed on the next non-Bconout system call or context
  1751.     switch. This should usually work OK, but as a precaution
  1752.     we provide for a way to turn it off (BIOSBUF=NO in mint.cnf).
  1753. fasttext.c.fasttext.h:
  1754.     New files for a faster text output device; changes were
  1755.     made to biosfs.c to support this, too.
  1756. tty.c:
  1757.     Streamline writes to terminals by sending data to the
  1758.     tty device in chunks instead of 1 character at a time.
  1759. dosfile.c:
  1760.     In do_open, always return EFILNF, never EPTHNF.
  1761. dosmem.c:
  1762.     Use supexec() to execute the terminate vector code, to
  1763.     avoid duplication of signal 0 faking.
  1764. xbios.c:
  1765.     In Supexec() does leave the kernel, so we have to make
  1766.     appropriate adjustments. We do this by faking a signal
  1767.     (signal 0) and installing the user's function as a signal
  1768.     handler.
  1769. dosdir.c:
  1770.     Make Dfree(x) actually look at free space on the drive which
  1771.     corresponds to the current directory on <x>; this should make
  1772.     Dfree on drive U: much more useful.
  1773. proc.h:
  1774.     Make the "base" field of the PROC structure have type BASEPAGE *
  1775.     (since that's what it is!)
  1776. basepage.h, dosdir.c, dosmem.c:
  1777.     Support some undocumented fields in the basepage a little bit
  1778.     (i.e. they're read only). Programs that try to write to these
  1779.     fields break. Surprise, surprise.
  1780.  
  1781. PATCHLEVEL2::
  1782.  
  1783. dosmem.c, mem.c:
  1784.     The docs say that children started with Pexec(104,...) or
  1785.     Pexec(106,...) share the parent's memory. This was unfortunately
  1786.     not the case; if the parent exited and the child was running
  1787.     in the parent's address space (e.g. see tfork() in mntlib)
  1788.     the child died very soon thereafter (like when the next program
  1789.     comes along and clears the memory the child was running out of).
  1790.     This is now fixed.
  1791. dos.c, proc.c, timeout.c:
  1792.     More tuning of the process scheduler.
  1793. main.c:
  1794.     Added "setenv" function for mint.cnf.
  1795.  
  1796. PATCHLEVEL1::
  1797.  
  1798. filesys.c:
  1799.     In some circumstances, AHDI will keep telling us that a drive
  1800.     has changed, ad infinitum. To avoid this, we stop trying after
  1801.     8 media changes occur in a row.
  1802. util.c:
  1803.     Tuned the kmalloc() strategy to reduce memory fragmentation
  1804.     (every process will be allocating 264 bytes for its
  1805.     memory region maps right after creation, and this should
  1806.     come from kernel memory).
  1807. tty.c:
  1808.     Under TOS, 1 byte writes should always be in raw mode.
  1809. dos.c:
  1810.     In Syield(), we should call sleep() even if no other processes
  1811.     are waiting, just to make sure that signals, alarms, etc.
  1812.     are properly dealt with.
  1813. filesys.c, dosfile.c:
  1814.     The media change code was wedged (actually, the fault was in
  1815.     do_pclose, which sometimes neglected to check to see whether
  1816.     or not the file had a still-valid device driver).
  1817. dosmem.c:
  1818.     In the termination code, close "files" referring to a process
  1819.     *before* freeing all the process memory; that way, we don't
  1820.     have to worry in do_pclose() and other places about what
  1821.     kind of state the process is in.
  1822. mem.h:
  1823.     Round off memory regions only to a word boundary for better
  1824.     TOS compatibility.
  1825.  
  1826. PATCHLEVEL0::
  1827. dos.c,intr.s,syscall.s:
  1828.     Changed s_yield() to actually give up the processor if
  1829.     another process is waiting for it; this means that processes
  1830.     that call Syield() won't be penalized by the priority code.
  1831.     Also: added a new kernel function, preempt(), which does
  1832.     what the old s_yield() did (and hence penalizes CPU hogs).
  1833. makefile:
  1834.     Cleaned up a bit, per suggestions from A. Pratt and D. Gymer.
  1835.  
  1836.  
  1837. version 0.91
  1838.  
  1839. dosmem.c:
  1840.     Only the high 4 bits of the program load flags give memory
  1841.     requirements (we were using 8 bits).
  1842. dosdir.c:
  1843.     Add a hack so that ksh still works (it was using '/' in a
  1844.     path name). THIS HACK WILL GO AWAY SOMEDAY!
  1845. tty.c:
  1846.     CBREAK mode shouldn't do erase, kill, or EOF processing.
  1847. dosdir.c:
  1848.     Freadlink should check first to make sure the file really
  1849.     is a link!
  1850. file.h,tty.c:
  1851.     Change the name "struct winsiz" to "struct winsize" to match
  1852.     what Unix calls it (cosmetic change only).
  1853. unifs.c:
  1854.     Allow renaming of the drives, and allow rmdir() to work
  1855.     like unlink() for symbolic links (since we fake the return
  1856.     value from Fsfirst to look like a directory if the link
  1857.     points to a directory).
  1858. biosfs.c:
  1859.     lseek() on the null device should not return 0 always;
  1860.     otherwise, it will look like a terminal to many programs!
  1861. dosfile.c:
  1862.     If a MiNT domain process closes stdin or stdout, they
  1863.     really do want them closed (for compatibility with
  1864.     MiNT 0.8).
  1865. syscall.s:
  1866.     When returning from traps, don't pre-empt the current process
  1867.     if it's in supervisor mode.
  1868. mem.c:
  1869.     Fake some stuff in the basepage so that programs compiled
  1870.     with dLibs will work some of the time.
  1871. tosfs.c:
  1872.     Make the value returned from Dgetpath() lower case in the MiNT
  1873.     domain. Also, make tosfs a little less verbose when debugging
  1874.     or tracing is on.
  1875. dosmem.c:
  1876.     Try to allocate space for saved fork() memory in the alternate (TT)
  1877.     memory map first, as well as in core (ST) memory.
  1878. mem.h:
  1879.     Round allocation requests up to multiples of 8 bytes instead
  1880.     of 4; this automatically gives us a bit of slush for ill
  1881.     behaved programs, and also means that requests will always
  1882.     be for a multiple of sizeof(double) bytes.
  1883. util.c:
  1884.     Get rid of the extra slush around kmalloc'd regions (which
  1885.     was a lot bigger than originally intended anyway!)
  1886.  
  1887.  
  1888. version 0.9
  1889.  
  1890. PATCHLEVEL21:: released version
  1891.  
  1892. dosmem.c:
  1893.     Make Malloc and Mxalloc try again if there isn't enough memory;
  1894.     maybe the situation is temporary.
  1895. mem.c:
  1896.     Plug a memory leak in load_region(); also make load_region try again
  1897.     if there isn't enough memory to load the program (just in case the
  1898.     situation is temporary).
  1899. dosdir.c:
  1900.     Add a check to Fattrib to make sure that attributes of directories
  1901.     are never changed.
  1902.  
  1903. PATCHLEVEL20::
  1904.  
  1905. dosdir.c:
  1906.     Allow Frenames of processes and other special kinds of files even
  1907.     if they do have the FA_RDONLY bit set.
  1908. dosfile.c:
  1909.     Allow creation of files with the read-only attribute.
  1910. tosfs.c:
  1911.     Change the file deletion code so that an attempt to delete an
  1912.     open file no longer fails, but rather marks the file to be
  1913.     deleted when it is closed.
  1914. file.h:
  1915.     Add some extra space to the tty struct, for future expansion.
  1916. filesys.c,main.c:
  1917.     Make sure the fake BIOS disk routines are available before
  1918.     any of the pseudo-drives are used, by having them set up
  1919.     in init_filesys() instead of init_intr().
  1920. tosfs.c:
  1921.     Remove some debugging output that isn't needed anymore.
  1922.  
  1923. PATCHLEVEL19::
  1924. Beta release.
  1925.  
  1926. intr.s,main.c:
  1927.     provide some fake BIOS disk routines for the pseudo-drives,
  1928.     in hopes of avoiding "drive U: is not responding" types of
  1929.     messages that some have reported
  1930. pipefs.c:
  1931.     half.ttp was failing under mgr, because of a race condition:
  1932.     our select() returns "ready" for a pipe if nobody exists to
  1933.     write to it (since then a read will return immediately). half
  1934.     would make a pipe that would end up being destroyed immediately
  1935.     by mgr before it got attached to a process. Solution: pipes that
  1936.     have *never* been opened yet for writing get a special marker
  1937.     and select doesn't worry about them, only about ones that were
  1938.     once written to.
  1939. pipefs.c:
  1940.     Fixed FIONWRITE to return the correct value.
  1941. dosdir.c:
  1942.     Refuse to Frename a file with the FA_RDONLY attribute.
  1943. biosfs.c:
  1944.     Fixed bios_write to return the number of bytes successfully
  1945.     written.
  1946. bios.c:
  1947.     LAST_DEVICE was inaccurate. This could happen again, so I'm simply
  1948.     getting rid of it and leaving all errors to the BIOS.
  1949. pipefs.c:
  1950.     Make sure the FA_RDONLY attribute is sensible (i.e. unidirectional
  1951.     pipes that don't have a writer can still be written to).
  1952. filesys.c:
  1953.     Fixed relpath2cookie so that it doesn't *always* follow symlinks
  1954.     (it only should when lastname == follow_links)
  1955. dosfile.c:
  1956.     If the FA_RDONLY bit is set on the file, even the superuser should
  1957.     be denied access for writing.
  1958. dosfile.c:
  1959.     Requiring write permission for Fdatime is a Bad Idea, since GEMDOS
  1960.     doesn't; so now MiNT doesn't either.
  1961. tosfs.c, filesys.c:
  1962.     Fixed a bug with media changes (Fsfirst would sometimes try to close a
  1963.     directory that had already been automatically closed by a media change).
  1964.  
  1965. PATCHLEVEL18::
  1966.  
  1967. main.c:
  1968.     Fixed the machine type detection code; it needs to run before
  1969.     biosfs is initialized, i.e. before init_filesys().
  1970. main.c:
  1971.     Provide a configuration file so that users can automatically
  1972.     setup symbolic links and can change their init program.
  1973. biosfs.c:
  1974.     Allow rename on bios devices, so people who want terminals called
  1975.     "ttyX" instead of "modemX" can do so.
  1976. dosdir.c:
  1977.     Flink shouldn't need write permission on the destination
  1978.     directory, only the source.
  1979. dosfile.c:
  1980.     Added FSTAT function for Fcntl, to allow a better version of
  1981.     fstat() for the library.
  1982. dosfile.c:
  1983.     Add code to fcntl to automatically convert MiNT 0.8 O_NDELAY
  1984.     into MiNT 0.9 O_NDELAY. This is a temporary measure only,
  1985.     to let older versions of mgr continue to work for a while.
  1986. filesys.c:
  1987.     Symbolic links with relative paths were always failing with
  1988.     ELOOP. Oops! (Thanks to Stephen Henson for catching this.)
  1989. file.h, tosfs.c, dosfile.c:
  1990.     Added a new flag, FS_NOXBIT, to control whether or not the
  1991.     file system has a sensible notion of execute permission.
  1992.     This removes an ugly check for &tos_filesys.
  1993. mint.h,util.c,mem.c:
  1994.     Added a compile time option, JUNK_MEM, to deliberately fill
  1995.     the memory MiNT acquires with garbage; this is for debugging
  1996.     (to help track down silly failures to initialize memory) and
  1997.     not for production code.
  1998. proc.c:
  1999.     Fixed a typo in init_proc() that was causing memory not to
  2000.     be initialized to 0 correctly. (Thanks are due to Stephen
  2001.     Usher for catching this one.)
  2002. tosfs.c:
  2003.     Added a tos_rewinddir that works.
  2004. file.h:
  2005.     Added blocks and blksize fields to the XATTR structure, and
  2006.     provided a few extra reserved fields for future expansion.
  2007.     (Also: re-arranged some fields to match what the gcc library
  2008.     already has.)
  2009. file.h, main.c:
  2010.     Add sleep, wake, and wakeselect to the kernel info structure;
  2011.     some device drivers will need these.
  2012. biosfs.c:
  2013.     Make nodskchng do a Getbpb on the (non-existent) device; the officially
  2014.     documented way of forcing a disk change requires this.
  2015. file.h,filesys.c,*fs.c:
  2016.     Remove the "flag" argument from the dskchng function, and
  2017.     have the kernel check Rwabs for E_CHNG; this should save
  2018.     a lot of duplication in user file systems, since everyone
  2019.     really has to do this anyways.
  2020. dosdir.c:
  2021.     Make sure that Fsfirst names can be null-terminated.
  2022. filesys.c:
  2023.     Oops: a misplaced bracket in disk_changed was causing
  2024.     write-protected disks to always appear to have changed!
  2025. tosfs.c:
  2026.     Made it illegal to delete or truncate an open file.
  2027.  
  2028. PATCHLEVEL17::
  2029.  
  2030. version.h:
  2031.     I think we can call this version an "alpha" one, now. No more
  2032.     major features remain to be added (fingers crossed, here).
  2033. filesys.c,dosdir.c,*fs.c,file.h:
  2034.     Media change detection code; this is now the kernel's
  2035.     responsibility. This necessitated an additional function
  2036.     for file systems; I hope this is the last one.
  2037. main.c,biosfs.c:
  2038.     Check what kind of machine we're on, and adjust what devices are
  2039.     present accordingly. The rs232 file has been renamed to "modem1".
  2040.     WARNING: This will break existing code that uses the name "rs232".
  2041. filesys.c:
  2042.     Code for loading file systems (finally!)
  2043. bios.c,context.s:
  2044.     Made Rwabs, Getbpb, and Mediach save registers (since device
  2045.     drivers often don't, and loadable file systems will be calling
  2046.     these directly).
  2047. main.c:
  2048.     Implemented the "struct kerinfo" to pass information to loadable
  2049.     file systems.
  2050. filesys.c:
  2051.     Re-wrote path2cookie to provide for symbolic links; a new routine
  2052.     (relpath2cookie) helps us out.
  2053. unifs.c:
  2054.     Code for creating, reading, and deleting symbolic links.
  2055. *fs.c, dosfile.c, file.h:
  2056.     Changed the way file opens and creates are done; the former
  2057.     (*getdev) routine for file systems has been split into
  2058.     (*creat) and (*getdev), both of which are quite a bit simpler.
  2059.     This whole scheme is clearer, less work for the file system,
  2060.     and will support symbolic links much better.
  2061. various places:
  2062.     Add security checks. This is still pretty sad, but at least it
  2063.     can provide one with a modicum of protection against silly
  2064.     mistakes.
  2065. dosfile.c:
  2066.     Require write permission on a file before changing its date via
  2067.     Fdatime.
  2068. tosfs.c:
  2069.     Cleaned up and streamlined a bit, and fixed tos_readlabel.
  2070. *fs.c,dosdir.c,file.h:
  2071.     Changed the file system "getxattr", "chmode", "chown", and
  2072.     "chattr" functions to take a single file cookie instead of a
  2073.     (directory, name) pair. This should make most uses of these
  2074.     functions (e.g. in name lookups) more efficient. Also,
  2075.     changed the readdir() function to return a file cookie to go
  2076.     along with the newly read file name.
  2077. main.c:
  2078.     If "init.prg" isn't found, try starting GEM instead.
  2079. unifs.c:
  2080.     Re-arranged to allow for symbolic links.
  2081. filesys.c:
  2082.     Implemented some media change routines.
  2083. dosdir.c:
  2084.     Added Fchown and Fchmod system calls.
  2085. dosdir.c:
  2086.     Added security check for Fattrib().
  2087.  
  2088. PATCHLEVEL16::
  2089.  
  2090. lots of places:
  2091.     Try to make TRACE() and DEBUG() messages more useful for people
  2092.     who don't know the internals of the kernel, and who just want to
  2093.     debug their own programs.
  2094. dosdir.c:
  2095.     Added Flink, Fsymlink, Freadlink, and Dcntl system calls.
  2096. *fs.c,file.h:
  2097.     Added a new mode to Dpathconf() to determine whether the
  2098.     file system uses DOS type file naming conventions, ordinary
  2099.     Unix type, or _POSIX_NO_TRUNC type.
  2100. file.h:
  2101.     Add an "fscntl" field to the file system structure.
  2102. tosfs.c:
  2103.     Fix the mode values returned from getxattr() (regular files
  2104.     have type S_IFREG, not S_IFMT).
  2105. proc.c:
  2106.     Zero the child's srchdta field after fork_proc(); otherwise,
  2107.     the accounting for Fsfirst/Fsnext can get messed up. Thanks
  2108.     again to S. Henson.
  2109. mem.c:
  2110.     As Steve Henson pointed out, resetting the effective user and
  2111.     group id's in exec_region is probably a Bad Idea.
  2112. dosdir.c:
  2113.     Change Dopendir/Dclosedir to use umalloc and ufree instead of
  2114.     kmalloc and kfree.
  2115.  
  2116. PATCHLEVEL15::
  2117.  
  2118. dosdir.c:
  2119.     When terminating, clean up after any Fsfirst/Fsnext sequences that
  2120.     didn't go to completion.
  2121. tosfs.c:
  2122.     Streamlined garbage collection code, and also corrected a bug in
  2123.     which file indices used in directory searches could be garbage
  2124.     collected.
  2125. file.h, *fs.c:
  2126.     Add symlink and hard link functions.
  2127. pipefs.c:
  2128.     Make FIONWRITE work again (a line was accidentally deleted).
  2129.     Make sure that Fselect() will select any pipes that have been
  2130.     closed.
  2131. dossig.c:
  2132.     Put back the user id check in Pkill.
  2133. dos.c, proc.c:
  2134.     Make sure that the "euid" and "egid" fields are set with
  2135.     the Psetuid and Psetgid calls. Also, make sure the fields
  2136.     are reset after an exec.
  2137. mem.c:
  2138.     Make exec_region shrink the process 'mem' and 'addr' tables
  2139.     to the default again if extra regions had been allocated.
  2140. dosmem.c:
  2141.     Get rid of the magic number "100", and introduce a maximum user
  2142.     settable priority MAX_NICE so that the kernel can make sure
  2143.     that a process that needs to run (e.g. an aborted vfork) will
  2144.     run first by setting its priority to MAX_NICE+1.
  2145. proc.c:
  2146.     Make sure the initial process memory tables are zeroed.
  2147. proc.c:
  2148.     Adjust the process scheduling algorithm (yet again!). Also,
  2149.     rename "nice_count" to "curpri".
  2150. dosdir.c,dos.c:
  2151.     Added Dopendir, Dreaddir, Drewinddir, Dclosedir system calls.
  2152. *fs.c:
  2153.     Made readdir return a file index (inode number) if it's not
  2154.     doing a TOS mode search.
  2155. biosfs.c:
  2156.     PHYSCONS is such an ugly name; CONSOLE makes more sense.
  2157.  
  2158. PATCHLEVEL14::
  2159.  
  2160. mem.c:
  2161.     Allow the kernel to dynamically allocate memory region
  2162.     descriptors if it runs out; also, increase the number that
  2163.     it starts with by default.
  2164. util.c:
  2165.     Made it harmless to call kfree with a NULL argument.
  2166. proc.h,mem.c,dosmem.c,proc.c:
  2167.     Eliminate the 64 region per process limit, by making the "mem"
  2168.     and "addr" arrays dynamically allocated.
  2169. proc.c:
  2170.     Change the code for selecting which process to run next; if more
  2171.     than one process is on the ready queue, we use a per-process
  2172.     counter to prevent high priority processes from hogging all the
  2173.     time.
  2174. dosmem.c:
  2175.     Release a process' controlling terminal (by setting it's process
  2176.     group back to 0) if the process is a process group leader and
  2177.     is exiting.
  2178. dosfile.c,tty.c,*fs.c:
  2179.     Made do_open set terminals up correctly on open/close, and
  2180.     handle assigning process groups to them. Also, made the terminal's
  2181.     process group be set automatically on Fforce(-1,...).
  2182. main.c,timeout.c:
  2183.     Added AKP's code for better resolution of time usage.
  2184. DELETED FILES:
  2185.     xlate.c, xlate32.s, newdisk.s
  2186. everywhere:
  2187.     Removed all references to NEED_TRANSLATION. This is getting to be a
  2188.     pain to maintain, and nobody seems to actually use it.
  2189. *fs.c:
  2190.     Fixed the ENAMETOOLONG detection code in readdir (thanks, Steve!).
  2191. timeout.c:
  2192.     New function, nap, for processes that are in busy loops waiting for
  2193.     an event that probably won't happen for a while (e.g. waiting for
  2194.     the user to hit a key); use e.g. nap(60) to sleep for 60 milliseconds
  2195.     instead of yield().
  2196. mem.c:
  2197.     create_env() should use the value from the current process' basepage,
  2198.     since this may *not* be the same as the environment the process
  2199.     was actually started with
  2200. dosfile.c:
  2201.     Make Fcntl(fh, arg, F_SETFL) leave the file sharing mode alone as well
  2202.     as the read/write mode.
  2203. unifs.c:
  2204.     Change the name "fifo" to "pipe"; change "drva", "drvb" etc. into just
  2205.     "a", "b" etc.
  2206. dosmem.c:
  2207.     Make it possible to provide a name with Pexec mode 104. Provide a new
  2208.     mode 106 that starts a process in the background and automatically
  2209.     detaches the process TPA from the parent's memory.
  2210.  
  2211. PATCHLEVEL13::
  2212.  
  2213. biosfs.c:
  2214.     Made sure that tty_getchar() won't see (long) negative values
  2215.     returned from a successful read, by clearing the high bit
  2216.     of read values.
  2217. *fs.c,atarierr.h:
  2218.     Made file systems responsible for dealing with "." and "..";
  2219.     introduced a new (fake) EMOUNT error to indicate when ".." is
  2220.     found in a root directory (this is for the benefit of the
  2221.     unified file system code)
  2222. dosdir.c,filesys.c:
  2223.     Changes to allow for the unified file system.
  2224. unifs.c, makefile:
  2225.     New file, for a "unified" file system.
  2226. filesys.c, *fs.c:
  2227.     Renamed denyaccess() to denyshare().
  2228. dosdir.c:
  2229.     Changed getname() to work from the root down instead of from
  2230.     the directory up; this should work better for mounting and
  2231.     symbolic links.
  2232. dosdir.c:
  2233.     Moved the check for a drive specifier (A:\FOO) in Dsetpath to
  2234.     where it should have been, namely before any use of the drive.
  2235. biosfs.c,pipefs.c:
  2236.     In opendir, make sure the directory structure is properly
  2237.     initialized.
  2238. dos.c:
  2239.     Changed snice and srenice to pnice and prenice; also modified the
  2240.     return values to be 16 bit (for the normal case), and 32 bit
  2241.     negative for errors, so that low priority processes can be
  2242.     distinguished from errors.
  2243. debug*.c:
  2244.     The Bconstat() check for the printer should be applied to device
  2245.     0, not 1.
  2246.  
  2247. PATCHLEVEL12::
  2248.  
  2249. dosdir.c,filesys.c:
  2250.     Re-wrote Fsfirst/next to use opendir/readdir/closedir. Re-wrote
  2251.     the pat_match function to work correctly (at least, according
  2252.     to the TOS rules :-).
  2253. *fs.c, file.h:
  2254.     Added opendir/readdir/closedir calls to file systems to allow
  2255.     more general file systems; also changed getattr into getxattr
  2256.     (again, to allow file systems with extra goodies), setattr into
  2257.     chattr, and added chown and chmod calls. Deleted sfirst/snext
  2258.     file system entry points, and the Xsfirst/Xsnext system calls.
  2259. *fs.c,file.h,dosfile.c,dosdir.c:
  2260.     Changed file systems to have separate calls for reading/writing
  2261.     volume labels. Added checks to Fattrib and Fcreate to avoid creating
  2262.     files with bad attributes (e.g. FA_LABEL or FA_DIR and anything
  2263.     else).
  2264. main.c:
  2265.     Change the definition of tosvers so that TOS 1.0 corresponds
  2266.     to tosvers == 0x100, not tosvers == 0. Also, clean up the
  2267.     code for testing TOS versions.
  2268.     WARNING: This may break RAM TOS versions. I doubt it matters.
  2269. bios.c,main.c:
  2270.     Always set the kbshft variable, so that kbshift is more
  2271.     efficient.
  2272. dos.c:
  2273.     Eliminated the old code that allowed Super(-1L) to work (GEMDOS
  2274.     doesn't support this, so why should MiNT?)
  2275. dos.c:
  2276.     Added GEMDOS date and time routines, and made sure that
  2277.     datestamp and timestamp are initialized properly when
  2278.     MiNT is started.
  2279. mem.c:
  2280.     Increased the size of the buffer used for reading relocation
  2281.     information in load_region.
  2282. *fs.c, dosfile.c:
  2283.     Changed the filesystem getdev call to return a file cookie
  2284.     (this saves a call to lookup on every open).
  2285. *fs.c, filesys.c:
  2286.     Eliminated static variables, changed all routines that used to
  2287.     return pointers to cookies to take an extra argument (a pointer
  2288.     to the place to put the result).
  2289. tosfs.c:
  2290.     Turn O_COMPAT sharing mode into O_DENYNONE (after making other
  2291.     appropriate changes to the access modes).
  2292. debugold.c:
  2293.     Updated to reflect changes in debug.c.
  2294. debug.c:
  2295.     Added calls to va_end where appropriate.
  2296. debug.c:
  2297.     Before, hitting a key paused debugging output; now, debug_ws
  2298.     checks the device that output is going to, so that e.g. if it's
  2299.     going to the MIDI port, the output is paused when a character
  2300.     arrives on the MIDI port.
  2301. mem.c:
  2302.     Made exec_region use O_DENYNONE sharing mode instead of O_DENYW
  2303.  
  2304. PATCHLEVEL11::
  2305.  
  2306. dosfile.c:
  2307.     Forbid closing file handles < 0; this will prevent accidental
  2308.     destruction of the BIOS handles.
  2309. dosfile.c:
  2310.     Change Fbiosdev to be MIDI specific, rename it to Fmidipipe, and
  2311.     move it to dosfile.c. The semantics are a bit different, too;
  2312.     see the comments in dosfile.c.
  2313. bios.c:
  2314.     Really fix the MIDI output routines, this time. (sigh)
  2315.  
  2316. PATCHLEVEL10::
  2317.  
  2318. signal.c:
  2319.     Fixed a typo in the message printed when bombs occur. Also,
  2320.     removed the copying of data from the supervisor stack to the
  2321.     BIOS area -- this was causing very strange problems, and it's
  2322.     not clear that the info would be useful under MiNT anyway.
  2323.     Finally, all this is only supposed to happen for certain
  2324.     signals, not for any random killings.
  2325.  
  2326. PATCHLEVEL9::
  2327.  
  2328. file.h, *fs.c:
  2329.     Changed the definition of the DTA buffer to free up space for
  2330.     user/group id fields and an extended attributes field. Made
  2331.     sfirst/snext use the 'aux' field of the directory cookie
  2332.     as an index.
  2333. dos.c:
  2334.     Fixed Talarm() to return the number of seconds left before an
  2335.     alarm, not the number of milliseconds.
  2336. dosdir.c:
  2337.     New system calls, Xsfirst/Xsnext, for accessing file systems
  2338.     with long (>12 character) names.
  2339. signal.c:
  2340.     Fill in the BIOS post-mortem dump error correctly after
  2341.     bus errors, address errors, etc. Also, made the "bomb" replacement
  2342.     routine give the process basepage address and program counter,
  2343.     as suggested by AKP.
  2344. tosfs.c:
  2345.     Fixed the tos_lookup bug that was causing bus errors during file
  2346.     opens.
  2347.  
  2348. PATCHLEVEL8::
  2349.  
  2350. tosfs.c:
  2351.     Made opens with O_COMPAT sharing mode always open for both reading
  2352.     and writing; this is so broken TOS programs that write to read-only
  2353.     handles will continue to work.
  2354. file.h, tty.c:
  2355.     Added TIOCGWINSZ/TIOCSWINSZ and the appropriate window size
  2356.     fields to the tty structure to support them.
  2357. dossig.c:
  2358.     Remove user id checks (for now). Make it impossible to catch
  2359.     SIGSTOP.
  2360. bios.c:
  2361.     Fix so Bconout returns a value (it really should, at least for
  2362.     the printer).
  2363. mem.c:
  2364.     Don't context switch and retry alloc_region; file systems and some
  2365.     parts of the kernel aren't expecting the context switch, and besides
  2366.     the previous change makes this tactic less likely to be helpful.
  2367. mem.c:
  2368.     Don't allocate *all* of the memory to the basepage, leave some for
  2369.     the kernel and other programs.
  2370. pipefs.c:
  2371.     Add a check for broken pipes when a program is trying to write
  2372.     atomically.
  2373. dosmem.c:
  2374.     Block job control signals during a vfork instead of ignoring
  2375.     them; this will result in the "right" thing happening after
  2376.     the exec (since the blocked signals will then be unblocked).
  2377. tosfs.c:
  2378.     Eeek! Fixed a very serious bug in the garbage collection
  2379.     routines ("i" was used where "j" should have been in a loop:
  2380.     result: things could be garbage collected that shouldn't
  2381.     have been!)
  2382. procfs.c:
  2383.     changed the return value from "dfree" to more accurately indicate
  2384.     the free memory in the system, and to also provide information
  2385.     about the smallest unit of allocable memory (currently a longword)
  2386. *fs.c,dosfile.c,dosdir.c,filesys.c:
  2387.     instead of passing fcookies to file systems, pass pointers to
  2388.     them; this should slightly improve efficiency, and greatly
  2389.     improve portability (otherwise, compilers used to make
  2390.     installable file systems would have to have the same structure
  2391.     passing/return conventions as the one that compiled the kernel)
  2392. dos.c:
  2393.     new system call, Srenice(), to change priority of a different
  2394.     process
  2395. dos.c:
  2396.     change Fbiosdev() system call to take a pid argument
  2397. proc.h, dosfile.c:
  2398.     add per-file descriptor flags for things like "close on exec"
  2399. file.h, mem.c, *fs.c:
  2400.     new file open mode, O_EXEC, for the kernel to use in Pexec
  2401. rendez.c, dos.c:
  2402.     new file from AKP to implement a simple and fast message based
  2403.     IPC; the new system call is Pmsg. Also note that the syscall number
  2404.     of Pmsg is 0x125, which used to be used by Fbiosdev; Fbiosdev has
  2405.     been moved to 0x126.
  2406. filesys.c:
  2407.     applied Steve Henson's patches to improve path2cookie's handling of
  2408.     repeated slashes
  2409. proc.h:
  2410.     MAX_OPEN should be 32, not 20!
  2411. mem.c:
  2412.     Ignore "close on exec" flag for the standard handles (for some
  2413.     reason, bash manages to set these for 0,1,2; this is probably a bug
  2414.     in the port of bash, but on the other hand it's unlikely that
  2415.     anyone would really want to close the standard handles when doing
  2416.     an exec, anyway)
  2417. tty.c:
  2418.     Fixed RAW mode reads on terminals so that they're no longer
  2419.     terminated by '\r' or '\n' (and so that pty slaves aren't forced
  2420.     to read just 1 character at a time). Thanks to AKP for catching
  2421.     this.
  2422.  
  2423. PATCHLEVEL7::
  2424.  
  2425. *fs.c:
  2426.     Cleaned up the Dpathconf() return values to better reflect
  2427.     reality, and made the code a little easier to understand.
  2428. bios.c:
  2429.     Adjust bcostat() parameters so that V:\MIDI and V:\KBD call
  2430.     the right (wrong) device (BIOS devices 3 and 4 are mixed
  2431.     up for Bcostat).
  2432. dosmem.c:
  2433.     Made sure that Malloc(0L) always returns a NULL pointer.
  2434. dosfile.c:
  2435.     Made Fclose() of handles 0, 1, 2, and 3 restore the default
  2436.     mappings. (Apparently TOS _does_ do this, after all.)
  2437. bios.c:
  2438.     AHDI 3.1 added a new parameter to Rwabs; we now pass that
  2439.     along too.
  2440. timeout.c:
  2441.     Make canceltimeout() free the memory used by the time out
  2442.     descriptor. (another Fselect bug)
  2443. signal.h:
  2444.     Removed ABORT and ALARM from list of signals that are reported
  2445.     by the kernel.
  2446. proc.c:
  2447.     Moved checkalarms() to do_wakeup_things() so that short time outs
  2448.     will be properly recognized; this fixes a nasty bug in Fselect.
  2449.  
  2450. PATCHLEVEL6::
  2451.  
  2452. pipefs.c:
  2453.     Make writes of 1024 or fewer bytes atomic. Also, increase pipe
  2454.     buffer size to 4096.
  2455. tosfs.c:
  2456.     Make O_EXCL and O_TRUNC bits useful.
  2457. tosfs.c,pipefs.c,filesys.c:
  2458.     Fully implement file sharing modes for tosfs and pipefs. A new
  2459.     routine (denyaccess) is provided in filesys.c for checking
  2460.     file open modes and determining conflicts (if any).
  2461. pipefs.c:
  2462.     If a process writes on a broken pipe while ignoring SIGPIPE,
  2463.     the write now returns -1. (Thanks, Stephen)
  2464. debug.c, bios.c:
  2465.     Applied bammi's patches to PATCHLEVEL 5 to fix some typos.
  2466.  
  2467. PATCHLEVEL5::
  2468.  
  2469. debug.c, bios.c:
  2470.     Applied AKP's debugging output patches, to allow TRACE and
  2471.     DEBUG output to go to serial ports as well as the printer.
  2472.  
  2473. PATCHLEVEL4::
  2474.  
  2475. dos.c:
  2476.     NEW SYSTEM CALL: Fbiosdev() to control redirection of BIOS
  2477.     devices.
  2478. bios.c, proc.h:
  2479.     Added binput and boutput arrays to allow for per-process redirection
  2480.     of BIOS device input and output to GEMDOS file handles.
  2481. biosfs.c:
  2482.     Changed "mdi" to "midi".
  2483.     WARNING: this change could (I suppose) break existing code.
  2484. util.c:
  2485.     Added a umalloc() function to allocate memory in user space,
  2486.     and modified the various sfirst routines to use this to
  2487.     allocate space for patterns instead of kmalloc.
  2488. dosdir.c,file.h:
  2489.     Added an FS_CASESENSITIVE flag to control conversion of file
  2490.     names to upper case for TOS domain processes.
  2491. dosdir.c, *fs.c:
  2492.     Made sfirst/snext functions take an extra argument, the length
  2493.     of the file name field in the DTA buffer (so that we can provide
  2494.     Xsfirst/Xsnext functions that can work with longer names)
  2495. mem.c:
  2496.     Fixed exec_region so that the close-on-exec flag works.
  2497. filesys.c:
  2498.     Made path2cookie take the name of the place to store the last
  2499.     component of the path name as an argument (instead of always
  2500.     storing it in the global variable temp1).
  2501. biosfs.c:
  2502.     Added code for O_NDELAY on bios devices.
  2503. tosfs.c:
  2504.     Cleaned up garbage collection a bit -- I hope this fixes the
  2505.     problems with running out of indices.
  2506. filesys.c:
  2507.     Returned the special parsing code for CON:, AUX:, etc.
  2508. file.h:
  2509.     OOPS! The flock structure was missing an element (l_whence). It
  2510.     was added.
  2511.     WARNING: This change may break existing code.
  2512. util.c:
  2513.     Made kmalloc take a long parameter, just in case installable
  2514.     file systems need lots of memory.
  2515. file.h, atarierr.h, pipefs.c:
  2516.     Made file modes compatible with _FLK specification. Also
  2517.     added the ELOCKED and ENSLOCK errors to atarierr.h, and made
  2518.     pipefs.c use ELOCKED instead of EACCDN.
  2519.     WARNING: this *will* break existing programs. In particular, mgr
  2520.     no longer works :-( because O_NDELAY has changed. (this was
  2521.     temporarily patched)
  2522. dos.c,dosfile.c:
  2523.     Added Flock() system call.
  2524. mem.c:
  2525.     Made the initial user stack pointer low enough so that syscall.s
  2526.     won't run into the end of memory if the user makes a system call
  2527.     right away and doesn't push many parameters (the code in syscall
  2528.     always tries to copy a large chunk of the caller's stack).
  2529. dosmem.c:
  2530.     Made vfork'd processes ignore job control signals (thanks to
  2531.     Stephen for pointing out how some shells rely on BSD's similar
  2532.     behaviour).
  2533.  
  2534. PATCHLEVEL3::
  2535.  
  2536. dosfile.c, file.h, *fs.c, bios.c:
  2537.     Changed f_select to use the new timeout mechanism, and provided
  2538.     routines in device drivers to wake up selecting processes.
  2539. proc.h:
  2540.     New queue, SELECT_Q, for processes doing "select", to match above
  2541.     changes
  2542. dos.c:
  2543.     Changed t_alarm to use the new timeout mechanism.
  2544. timeout.c,proc.h:
  2545.     Added a new "timeout" mechanism, so that processes can specify
  2546.     an action to be taken when a counter expires.
  2547. various places:
  2548.     Cleaned up TRACE and DEBUG output
  2549. proc.c:
  2550.     Set current directory based on the TOS current directory
  2551.     when MiNT is starting up.
  2552. debug.c:
  2553.     Added AKP's "trace" mode patch
  2554. filesys.c:
  2555.     Replaced strcmp() for . and .. with direct comparisons, again
  2556.     per AKP.
  2557. tosfs.c:
  2558.     Improved search performance a bit (indicies are now allocated
  2559.     at the beginning of the list, instead of at the end)
  2560. main.c, version.h:
  2561.     Introduced PATCHLEVEL for alpha and beta test versions    
  2562. util.c:
  2563.     Made kmalloc() try the kernel memory region first for small
  2564.     regions, to cut down fragmentation of the user's memory space
  2565. proc.h:
  2566.     Made the system stacks bigger, to compensate for the bigger
  2567.     contexts now that there's FPU support
  2568. dosmem.c:
  2569.     Fixed bug with Pexec mode 6 (thanks again, AKP)
  2570. biosfs.c:
  2571.     Changed FD0 to STDIN, FD1 to STDOUT, etc.
  2572.     WARNING: this change could break existing code
  2573. filesys.c:
  2574.     '/' is no longer a directory separator for MiNT domain processes
  2575.     (few were using it, and it simplifies things to be able to
  2576.     assume '\' is the only such separator).
  2577.     WARNING: this change could break existing code
  2578. all over the place:
  2579.     Changed the way directories/files are stored. We now have
  2580.     "file cookies" for directories, instead of strings. We
  2581.     also now have two directories per drive per process
  2582.     (a root and current).
  2583. minixfs.c:
  2584.     Removed from the main compile, and MINIX_FS symbol was also
  2585.     removed -- this will be a loadable file system someday
  2586.     (soon, I hope).
  2587. various places:
  2588.     Added Alex Kiernan's patches to support compilation under
  2589.     Lattice C v5
  2590. proc.h, context.s:
  2591.     Added Alex Kiernan's FPU co-processor patches. WARNING: this
  2592.     changes the layout of the proc structure in memory, and so
  2593.     breaks "ps" and similar programs.
  2594. proc.c:
  2595.     Changed sleep() to take the wait condition as an argument; this
  2596.     means that fewer things need to know the internals of the
  2597.     PROC structure
  2598. various places:
  2599.     Added AKP's T_TOSTOP flag changes
  2600. minixfs.c:
  2601.     Changed the 8K buffer in do_change to a static variable; our
  2602.     stacks aren't *that* big!
  2603. intr.s:
  2604.     Fixed a typo that was causing serious problems with the bus
  2605.     error and other exception codes on the TT (thanks for
  2606.     catching this, Allan).
  2607. dosmem.c,signal.c:
  2608.     Corrected the GEMDOS termination vector code (the system stack
  2609.     was being corrupted if the user's code returned). Thanks to
  2610.     Julian Reschke for catching this error.
  2611. ===========================================================================
  2612. version 0.8
  2613.  
  2614. biosfs.c, pipefs.c:
  2615.     fix ^C and ^Y to send the signals to the whole process group,
  2616.     and also to make sure processes don't read these keys if
  2617.     they're turned into signals
  2618. intr.s,dossig.c:
  2619.     fix exception handlers to be more careful about the distinction
  2620.     between being in or out of the kernel
  2621. intr.s, syscall.s, main.c:
  2622.     make sure interrupts are off before changing any vectors
  2623. bios.c:
  2624.     fixed the annoying problems with CTRL-ALT-Fx sometimes leaving
  2625.     keys in the buffer
  2626. signal.c:
  2627.     forced p_sigreturn() with no signal pending to unwind the
  2628.     *whole* signal stack, in case there were multiple signals
  2629.     pending at the time the user did a longjmp() (or whatever
  2630.     prompted the Psigreturn())
  2631. dosmem.c:
  2632.     p_wait3 now supports the WUNTRACED bit; if this isn't set,
  2633.     processes stopped due to job control are *not* returned
  2634. dosmem.c:
  2635.     removed dLibs kludge -- some programs rely on p_parent being
  2636.     non-zero to tell them that they're not accessories
  2637. various places:
  2638.     cleaned up job control stuff to be more Unix like
  2639. mem.c,util.c:
  2640.     added a new memory map for the kernel -- this should ease
  2641.     the problems with programs grabbing all of available memory
  2642. mem.c,dosmem.c:
  2643.     incorporated Allan's bugfixes; alternative RAM should work now
  2644. signal.c, main.c, intr.s:
  2645.     integrated signals with normal exceptions, so that e.g.
  2646.     a bus error raises SIGBUS. This improves the survivability
  2647.     of the kernel, so that a bus error resulting from a bad
  2648.     system call parameter won't kill MiNT, just the offending
  2649.     process.
  2650. proc.c:
  2651.     kludge to let low priority processes run every so often, even
  2652.     in the presence of a high priority process that is ready to run
  2653. atarierr.h:
  2654.     ENMFIL is -49, not -47 -- so much for Abacus' docs :-)
  2655. procfs.c:
  2656.     changes to allow read/write from process space
  2657. minixfs.[ch]:
  2658.     changed lots of function parameter types to avoid promotion and
  2659.     prototype problems with 32 bit code
  2660. bios.c:
  2661.     changed IOREC to IOREC_T to avoid name conflicts with some osbind.h
  2662. biosfs.c:
  2663.     made mouse driver change the line A mouse position variables, so MGR
  2664.     will work with bigscrn and similar large screen emulators
  2665. minixfs.c:
  2666.     new version from Stephen, now supports floppies and other removable
  2667.     media
  2668. mem.c, dosmem.c, dos.c:
  2669.     added code to support new TT TOS calls Mxalloc and Maddalt, plus
  2670.     program flags for loading/mallocing in alternate memory
  2671. bios.c,biosfs.c,dosfile.c:
  2672.     changed so that bios handles 0 and 1 can be redirected just like
  2673.     handle 2 (via the new file handles -3 and -2 respectively; AUX:
  2674.     and PRN: now refer to these files, and RS232 and CENTR to the
  2675.     physical devices)
  2676. dosdir.c:
  2677.     Dsetdrv() fixed to return an error indication when one happens
  2678. dos.c:
  2679.     fixed Super() bug (thanks Stephen)
  2680. minixfs.c:
  2681.     incorporated changes to handle 1K sector sizes
  2682.  
  2683. =============================================================================
  2684. version 0.7
  2685.  
  2686. minixfs.c:
  2687.     new file, courtesy of Stephen N. Henson (olorin@tardis.cs.ed.ac.uk)
  2688.     this is still "under construction"; see minixfs.doc for more details
  2689. bios.c:
  2690.     CTRL-ALT-UNDO now raises SIGQUIT, for the benefit of people with
  2691.     foreign ROMs (some have trouble with ^\)
  2692. filesys.c:
  2693.     changed pathname resolution code so that multiple slashes in a file
  2694.     name have the same effect as single slashes. POSIX mandates this,
  2695.     and some Unix programs expect it, too
  2696. dosmem.c:
  2697.     changed do_vfork() code so that the text segment of processes is
  2698.     *not* saved in a fork() if the process has separate text, data, and
  2699.     bss segments; this saves a fair bit of memory
  2700. proc.c:
  2701.     changed the process initialization code to better deal with job
  2702.     control; also changed handle 2 to be AUX: (as under TOS) rather
  2703.     than PRN:
  2704. bios.c:
  2705.     added CTRL-ALT-F5 (show memory usage) and CTRL-ALT-F6
  2706.     (show processes)
  2707. filesys.c:
  2708.     make explicit the fact the individual file names are limited to
  2709.     14 characters
  2710. everywhere:
  2711.     change FILENAME_MAX to PATH_MAX
  2712. mem.c:
  2713.     fixed up comments and debugging/trace info for load_region
  2714. dossig.c:
  2715.     NEW SYSTEM CALL: Psigpending() returns the set of signals that
  2716.     have been sent to the process, but not yet delivered.
  2717. dos.c, dosdir.c:
  2718.     NEW SYSTEM CALLS:
  2719.     Sysconf(n) returns information about the global limits of the
  2720.     currently running version of MiNT
  2721.     Dpathconf(name, n) returns information about the file system that
  2722.     the file "name" is located on
  2723. bios.c:
  2724.     allow CTRL-ALT-C, CTRL-ALT-\, and CTRL-ALT-Z to force a SIGINT,
  2725.     SIGQUIT, or SIGTSTP, respectively, even if the terminal is in raw
  2726.     mode
  2727. various places:
  2728.     call zero() instead of bzero()
  2729. context.s,intr.s:
  2730.     changes to make MiNT TT compatible. Thanks to Allan Pratt for this!
  2731. biosfs.c, tosfs.c, pipefs.c, procfs.c:
  2732.     fsfirst/fsnext return all upper case in TOS domain now, but
  2733.     lower case (or mixed) in MiNT domain; this is to try to wean
  2734.     programmers off of the habit of assuming everything is upper case
  2735.     (and converting accordingly)
  2736. biosfs.c:
  2737.     made mouse compatible with TOS ALT-cursor keys (the Y direction was
  2738.     wrong before)
  2739. intr.s:
  2740.     IPL 7 before reboot (thanks, Allan)
  2741. version.h, main.c:
  2742.     made version numbering a bit easier (big deal)
  2743. main.c:
  2744.     AARGH! The cookie jar stuff was plain wrong (the last cookie should
  2745.     have the total number of slots, not just the ones that are free).
  2746. main.c:
  2747.     pass current environment along to init.prg, instead of forcing an
  2748.     empty environment
  2749. signal.c:
  2750.     corrected killpg() bug (wasn't checking signals, so the current
  2751.     process didn't get the signal until later)
  2752. mem.c, dosmem.c:
  2753.     made sure that all sizes would always be rounded to the nearest
  2754.     longword. Just in case they aren't, Malloc(-1L) rounds down to the
  2755.         next smallest longword.
  2756. lots of places:
  2757.     memory handling was overhauled completely; kmalloc now allocates
  2758.     memory from the same space as do m_alloc and p_exec, so there is
  2759.     no artificial constraint on the number of processes
  2760. ===========================================================================
  2761. version 0.6
  2762.  
  2763. dos.c:
  2764.     added Talarm() and Pause() system calls
  2765. bios.c, tty.c, pipefs.c:
  2766.     added real tty structures that programs can manipulate
  2767. proc.c:
  2768.     added some sanity checks for things like stack overflow
  2769. signal.c:
  2770.     revamped signal handling so that Psigreturn() no longer needs an
  2771.     argument.
  2772. dosmem.c:
  2773.     made Pexec'ing processes immune to SIGINT, SIGHUP, and SIGTSTP
  2774. intr.s:
  2775.     fixed the Psigreturn race condition bug
  2776. biosfs.c, pipefs.c, filesys.c, util.c:
  2777.     added case-insensitive string comparison routine, and modified the
  2778.     file systems to use it
  2779. bios.c, console.c:
  2780.     changed return values of status calls from 1 to -1, to be TOS
  2781.     compatible
  2782. dos.c:
  2783.     added new calls to get resource usage, and set resource limits
  2784. dosfile.c:
  2785.     added new call, f_select
  2786. signal.c:
  2787.     changed so stopped processes always have a return code of 0177
  2788. biosfs.c:
  2789.     added a fake "third button" on the mouse (you get it by holding down
  2790.     a shift key and a mouse button)
  2791.     made mouse_read return at least 1 byte
  2792. bios.c, proc.c, biosfs.c:
  2793.     added code to check for CTRL-ALT-key combinations on every
  2794.     process switch; thus, debugging, rebooting, etc. do not require
  2795.     waiting for a read from the keyboard. Also, ^C sends a SIGINT
  2796.     immediately, and ^Z (SIGTSTP) and ^\ (SIGQUIT) take effect
  2797.     right away, too.
  2798.     CTRL-ALT-DEL supported for TOS < 1.4
  2799.  
  2800. =========================================================================
  2801. version 0.5
  2802.  
  2803. First publically released version (made available for FTP as a beta test)
  2804.  
  2805.